setting document domain so it works in iframes

master
Mark MacKay 2012-08-01 18:43:08 -05:00
parent d111ff1542
commit a89b1dec13
3 changed files with 9 additions and 2 deletions

View File

@ -5,6 +5,9 @@
<meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="chrome=1"/>
<link rel="icon" type="image/png" href="images/logo.png"/>
<script type="text/javascript">
document.domain = document.domain
</script>
<!--{if svg_edit_release}>
<link rel="stylesheet" href="svgedit.compiled.css" type="text/css"/>

View File

@ -324,11 +324,12 @@
<input id="font_family" data-title="Change Font Family" size="12" type="hidden" />
<select id="font_family_dropdown">
<option value="Helvetica, Arial, sans-serif" selected>Helvetica</option>
<option value="Arvo, sans-serif">Arvo</option>
<!--<option value="Arvo, sans-serif">Arvo</option>
<option value="Euphoria, sans-serif">Euphoria</option>
<option value="Oswald, sans-serif">Oswald</option>
<option value="'Shadows Into Light', serif">Shadows Into Light</option>
<option value="'Simonetta', serif">Simonetta</option>
<option value="'Simonetta', serif">Simonetta</option>-->
<option value="'Trebuchet MS', Gadget, sans-serif">Georgia</option>
<option value="Georgia, Times, 'Times New Roman', serif">Georgia</option>
<option value="'Palatino Linotype', 'Book Antiqua', Palatino, serif">Palatino</option>
<option value="'Times New Roman', Times, serif">Times</option>

View File

@ -5,6 +5,9 @@
<meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="chrome=1"/>
<link rel="icon" type="image/png" href="images/logo.png"/>
<script type="text/javascript">
document.domain = document.domain
</script>
<!--{if svg_edit_release}-->
<link rel="stylesheet" href="svgedit.compiled.css" type="text/css"/>