Thank you Björn Höhrmann.
I have tried to contact the author of smalscript but no luck. If anyone has time and can get this to work please et me know what to modify. * Neiderer, Andrew (Civ, ARL/CISD) wrote: >The following displays fine in Netscape with ASV plug-in, but not using >Apache Batik 1.6. Batik does not currently support the SMIL Animation elements, you could try http://www.vectoreal.com/smilscript/ or try to convince Cameron to _____ From: Neiderer, Andrew (Civ, ARL/CISD) Sent: Thursday, March 02, 2006 2:15 PM To: '[EMAIL PROTECTED]' Cc: Neiderer, Andrew (Civ, ARL/CISD) Subject: smilScript.js Hello. I tried to get animation working using your smilScript.js 11/04/2005 with a simple example for the Batik 1.6 viewer. Maybe you could quickly look at this and suggest what I need to do . Thank you. - Andrew M. Neiderer - US Army Research Lab <svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' preserveAspectRatio='none'> <desc> <!-- --> <!-- by Andrew M. Neiderer, 17 Feb 2006. --> </desc> <title> <!-- --> </title> <defs> <!-- style sheet --> <!-- scripting definitions --> <script type='text/ecmascript' xlink:href='smilScript.js'/> <script type='text/ecmascript'> <![CDATA[ <!-- member data --> var rect = document.getElementById('r0c0'); <!-- member functions --> function changeColor(rect) { if ( rect != null ) { rect.setAttribute('class','strongRed'); var animate = rect.getElementsByTagNameNS('http://www.w3.org/2000/svg','animat! if ( animate != null ) { animate.setAttribute('to','0.20'); } else alert("animate == null"); } else alert("rect == null"); } ! ]]> </script> </defs> <rect id='r0c0' x='0.0' y='0.0' width='92.1875' height='49.609375'> <animate attributeName="fill" from="#FF0000" to="#FFFFFF" dur="5s" fill="freeze/> </rect> <rect id='r0c0' x='0.0' y='50.0' width='92.1875' height='49.609375'> <animateColor attributeName="fill" from="#FFFFFF" to="#00FF00" dur="10s" fill="freeze/> </rect> <rect id='r0c0' x='0.0' y='100.0' width='92.1875' height='49.609375'> <rect id='r0c0' x='0.0' y='100.0' width='92.1875' height='49.609375'> <animateColor attributeName="fill" from="#0000FF" to="#FFFFFF" dur="15s" fill="freeze"/> </rect> </svg> [Non-text portions of this message have been removed] ----- To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ---- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/