Can't Add Listener To A Svg In Internet Explorer Using Svgweb
This code works great in Firefox, but not in IE. I've read the documentation of SVGWeb (http://svgweb.googlecode.com/svn/trunk/docs/UserManual.html), but I don't find/understand th
Solution 1:
Try to call addEventListener
inside this block instead onsvgload
:
window.addEventListener('SVGLoad', function() {
// all SVG loaded and rendered
}, false)
These constructions are equal but I make this assumption because of an error: "Error while firing onload: Not supported"
Post a Comment for "Can't Add Listener To A Svg In Internet Explorer Using Svgweb"