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

Re: script

From: Jon Ferraiolo <jferraio@Adobe.COM>
Date: Thu, 10 Aug 2000 13:48:15 -0700
Message-Id: <200008102045.NAA28768@mail-345.corp.Adobe.COM>
To: <al004136@alumail.uji.es>
Cc: www-svg@w3.org
At 08:11 PM 8/10/00 +0200, Palazon Gonzalez Vicente wrote:
>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">
><script type="text/ecmascript"><![CDATA[
>/* Every time you click, increase the radius by 10. */
>function MouseClickHandler(MouseEvent evt) { evt.target.r+=10; }
><circle onclick="MouseClickHandler(evt)" cx="100" cy="100" r="10"/>
>Why this simple example don't runs with Explorer or Netscape with adobe 

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:

Jon Ferraiolo
SVG Editor
Adobe Systems Incorporated
Received on Thursday, 10 August 2000 16:46:23 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:46:49 UTC