W3C home > Mailing lists > Public > www-svg@w3.org > August 2000

script

From: Palazon Gonzalez Vicente <al004136@alumail.uji.es>
Date: Thu, 10 Aug 2000 20:11:35 +0200 (DFT)
To: www-svg@w3.org
Message-Id: <20000810181136.139057D035@anubis.uji.es>

Hi.

This is an example of the SVG - W3C Working Draft 03 March 2000, it appears 
in chapter 13:

<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg SYSTEM "svg-20000303-shared.dtd">
<svg width="4in" height="3in">
<defs>
<script type="text/ecmascript"><![CDATA[
/* Every time you click, increase the radius by 10. */
function MouseClickHandler(MouseEvent evt) { evt.target.r+=10; }
]]>
</script>
</defs>
<circle onclick="MouseClickHandler(evt)" cx="100" cy="100" r="10"/>
</svg>


Why this simple example don't runs with Explorer or Netscape with adobe 
plug-in?



-- 
------------------------------------- - - -  -  -  -  -   -   -   -         
Vicente Palazon Gonzalez
e-mail: al004136@alumail.uji.es
www: http://www4.uji.es/~al004136
------------------------------------- - - -  -  -  -  -   -   -   -
Received on Thursday, 10 August 2000 14:15:41 GMT

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