Is it possible to manipulate an SVG document embedded in an HTML doc with JavaScript?

前端 未结 7 1592
情深已故
情深已故 2020-12-05 07:31

I have made a SVG image, or more like mini application, for viewing graphs of data. I want to include this in a HTML page, and call methods on the SVG image.

Example

相关标签:
7条回答
  • 2020-12-05 08:33

    For support in IE6, have a look at SVGWeb.

    There are examples on how to manipulate SVG with JavaScript in the sample code supplied with the library.

    There is also a fair amount of information in the archives of the mailing list.

    0 讨论(0)
提交回复
热议问题