[PortableFirefox] Can not access the DOM of a SVG document from JavaScript

John T. Haller mozdev at johnhaller.com
Thu Jul 21 10:51:23 EDT 2005


VANESSE Daniel wrote:
> Thanks to all for you quick answer about the installation of the Adobe 
> plug-in.
> Now, another concern about SVG documents:
>  
> _Context:_
> - A SVG document is embedded into a HTML page using
>       <EMBED  name="MySvg"  src="Something.svg"  type="image/svg" ...>
>  
> _Problem:_
> The drawing properly displays but the JavaScript statement "svgDoc = 
> document.MySvg.getSVGDocument()" reports the error "getSVGDocument() is 
> not a function" 
>  
> _FYI:_
> -SVG Viewer 3 from Adobe installed on the PC
> - plugin files installed in PortableFirefox
> - the DOM inspector does not allow me to go deeper than the <EMBED> tag
> - the script works in IE6

Does it work in regular FF (ie a local install)?  If not, you're out of 
luck (and this wouldn't be the place to ask for more info).  Portable FF 
is a repackaging of regular FF.  If it doesn't work in FF it won't work 
here.  This mailing list is only for Portable FF issues, not general FF 
ones.




More information about the PortableFirefox mailing list