- From: Jon Ferraiolo <jferraio@Adobe.COM>
- Date: Thu, 10 Aug 2000 13:48:15 -0700
- To: <al004136@alumail.uji.es>
- Cc: www-svg@w3.org
At 08:11 PM 8/10/00 +0200, Palazon Gonzalez Vicente wrote: > >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? The example doesn't run because I made an editorial mistake and did not update that example to be correct. Various alert readers have pointed out that the example was in error. The example was updated in the next public draft to be correct, and the Adobe SVG Viewer does indeed render this simple example correctly. The latest (and correct) version of the example from the August 2 public draft is at: http://www.w3.org/TR/2000/CR-SVG-20000802/images/script/script01.svg Jon Ferraiolo SVG Editor Adobe Systems Incorporated
Received on Thursday, 10 August 2000 16:46:23 UTC