faqts : Computers : Programming : Languages : JavaScript : XML : SVG (Scalable Vector Graphics)

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

2 of 2 people (100%) answered Yes
Recently 2 of 2 people (100%) answered Yes

Entry

Which browsers and SVG viewers support scripting SVG documents with JavaScript?
Which browsers and SVG viewers support scripting SVG documents with JavaScript?

Feb 19th, 2006 10:22
Martin Honnen,


Browsers based on the Mozilla Gecko 1.8 rendering engine have native SVG
support with all the DOM (e.g. W3C DOM Level 2, DOMParser,
XMLSerializer) and JavaScript features Mozilla already offers for XML
documents plus some support for the SVG DOM. 
Currently released browsers based on Gecko 1.8 include
  - Firefox 1.5
  - SeaMonkey 1.0
  - Camino 1.0
Opera 8 has native SVG support but does not support scripting SVG
documents. Opera 9 which is currently already available as a preview
improves the native SVG implementation including scripting of SVG
documents with the W3C DOM Level 2 Core DOM and some SVG DOM.
The Adobe SVG viewer version 3 is rather old compared to the recently
released native SVG implementations in Mozilla and Opera but offers
scripting of SVG documents with the W3C DOM Level 2 Core DOM and the SVG
DOM. When SVG documents embedded in HTML documents are rendered in IE
(Microsoft Internet Explorer) on Windows then full script interaction
between script in the SVG document and script in the HTML document is
possible.
Batik Squiggle is a Java implementation of an SVG viewer which allows
scripting of SVG documents using the Mozilla Rhino JavaScript engine.
W3C DOM Level 2 Core and SVG DOM are supported.