The SVG is displaying fine. The HTML file embeds the SVG like this:

<embed name='EmbedRPF' type='image/svg+xml' id='EmbedRPF' 
frameborder=0 width=100% height=100% src='RPF1.svg' ></embed>

But when I insert the following js to get a handle on the SVG 
document:

var DocRPF = printWin.document.embeds("EmbedRPF").getSVGDocument();

It works fine when I run it from my local drive but when I upload 
it to the server the line causes a js error in the browser:

"Object doesn't support this property or method."


I have tried pausing the js script before it runs getSVGDocument 
because I thought maybe the SVG needs to load before getSVGDocument 
becomes available via the embed element but it did not work. Not 
sure if I implemented the pause correctly though. 

Any other ideas please help?










------------------------ Yahoo! Groups Sponsor --------------------~--> 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/1U_rlB/TM
--------------------------------------------------------------------~-> 

-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to