Hi all,
The following svg code works with IE6 and not with IE7

<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 
1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd";>
<svg width="100px" height="100px" viewBox="0 0 100 100">    
  <script type="text/ecmascript">
    <!--
function displayData(){
dataWindow=open
('','','toolbar=0,directories=0,menu=0,scrollbars=1,location=0,resizab
le=1,status=0,top=400,left=300,width=600,height=200,menubar=0,dependen
t=1,hotkeys=0');
dataWindow.document.open();
dataWindow.document.write("<HTML><HEAD><TITLE>My title");
dataWindow.document.write("</TITLE></HEAD><BODY onBlur='window.close
();' style='font-family: Arial;'>");
dataWindow.document.write("bla bla bla");
dataWindow.document.write("</BODY></HTML>");
dataWindow.document.close();
}
-->
  </script>      
  <g onclick="displayData();">
      <a href="">
        <text x="20" y="20">test</text>
      </a>
</svg>

I have the following error : 

Script error
Accès refusé. (=Access denied)
line: 4, column: 0

The same function works in an html file.
Thanks in advance for helping.
Julie



-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to