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

前端 未结 7 1602
情深已故
情深已故 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.

提交回复
热议问题