- From: Herzog, Juergen <Juergen.Herzog@telekom.de>
- Date: Tue, 23 May 2000 20:28:55 +0200
- To: www-svg@w3.org
Hi, I'm just starting to use scripting. I tried the following with IE4.0: <?xml version="1.0" standalone="no"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG December 1999//EN" "http://www.w3.org/Graphics/SVG/SVG-19991203.dtd"> <svg width="100" height="100"> <defs> <script><![CDATA[MouseClickHandler() { document.getElementById('kreis').setAttribute('r', '20'); }]]></script> </defs> <circle id="kreis" cx="50" cy="50" onclick="MouseClickHandler()" r="10"/> </svg> It gives me an error message like: Error in compiling Microsoft JScript: ";" expectec Clicking on the circle gives: Runtime-Error in Microsoft JScript: object expectec What's wrong here? Regards Jürgen ===T= Deutsche Telekom AG > Zentrale IV-Unterstützung der Prozesse NI > Projekt Megaplan > Jürgen Herzog, isys software gmbh > Mornewegstraße 45a > Darmstadt > ---------------------------------------------------------------- > % Tel.: (06151) 83-6712 > * Fax: > * Mailto:Juergen.Herzog@telekom.de > >
Received on Tuesday, 23 May 2000 14:29:50 UTC