W3C home > Mailing lists > Public > www-svg@w3.org > January 2003

SVG script

From: Hyunju Shim <hshim@cise.ufl.edu>
Date: Wed, 8 Jan 2003 23:37:02 -0500
Message-ID: <000801c2b798$c187a700$6baae380@cise.ufl.edu>
To: <www-svg@w3.org>
I have a script in SVG which has an error that I can not understand.
The script opens new window upon a 'rect' click.

Following code gives me an error of "Permission denied" :

   <script type="text/ecmascript"><![CDATA[    
     function open()
     {
       window.open('window.html','newWindow');   
     }
   ]]></script>
  <rect onclick="open()" fill="orange" x="27" y="22" width="13" height="11"/>
    
When I tried this script within HTML it worked fine.
Can somebody help me please?
Received on Wednesday, 8 January 2003 23:31:13 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:24 GMT