japplicoon
08-04-2004, 09:29 AM
I know that Mozilla does not understand the "svgDocument" object of an "embed" object. But I took a different approach with IE and manipulated the SVG from a Script inside the SVG document. With IE, I could then (in an init() function) pass the functions up to the window containing the HTML that embeds the SVG, by
parent.svgfunc = fvgfunc;
It worked well with IE, but Mozilla does not seem to have any properties associated with the "window" object in the SVG-side script. Does anyone know a different approach to get Mozilla over the SVG-HTML bridge or can someone help me understanding this window object - where am I when I am in my Script ;-) ??
Thanks for Hints!!
Sonja
parent.svgfunc = fvgfunc;
It worked well with IE, but Mozilla does not seem to have any properties associated with the "window" object in the SVG-side script. Does anyone know a different approach to get Mozilla over the SVG-HTML bridge or can someone help me understanding this window object - where am I when I am in my Script ;-) ??
Thanks for Hints!!
Sonja