Thanks Guy I switched to using an iframe instead of embed and it has been working but I might use the onload too.
-----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Guy Morton Sent: Wednesday, 19 July 2006 9:24 AM To: [email protected] Subject: Re: [svg-developers] Re: getSVGDocument works locally but not on server Also, consider firing your function via an onload event - that way it shouldn't be called until the SVG is loaded On 18/07/2006, at 11:36 PM, Martin Honnen wrote: > --- In svg-developers@ <mailto:svg-developers%40yahoogroups.com> yahoogroups.com, "jack2wsx" <[EMAIL PROTECTED]> > wrote: > >> <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(); > > Well for a start you need > embeds["EmbedRPF"] > not > embeds("EmbedRPF") > (unless you use IE only and IE does it with embeds("EmbedRPF")). > > If you still have problems then consider posting a URL. > > > > > > > ------------------------ Yahoo! Groups Sponsor -------------------- > ~--> > See what's inside the new Yahoo! Groups email. > http://us.click. <http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/1U_rlB/TM> yahoo.com/2pRQfA/bOaOAA/yQLSAA/1U_rlB/TM > ---------------------------------------------------------- > ~-> > > ----- > To unsubscribe send a message to: svg-developers- > unsubscribe@ <mailto:unsubscribe%40yahoogroups.com> yahoogroups.com > -or- > visit http://groups. <http://groups.yahoo.com/group/svg-developers> yahoo.com/group/svg-developers and click "edit > my membership" > ---- > Yahoo! Groups Links > > > > > > > Australia Post is committed to providing our customers with excellent service. If we can assist you in any way please telephone 13 13 18 or visit our website. The information contained in this e-mail communication may be proprietary, confidential or legally professionally privileged. It is intended exclusively for the individual or entity to which it is addressed. You should only read, disclose, re-transmit, copy, distribute, act in reliance on or commercialise the information if you are authorised to do so. Australia Post does not represent, warrant or guarantee the integrity of this e-mail communication has been maintained nor that the communication is free of errors, virus or interference. If you are not the addressee or intended recipient please notify us by replying direct to the sender and then destroy any electronic or paper copy of this message. Any views expressed in this e-mail communication are taken to be those of the individual sender, except where the sender specifically attributes those views to Australia Post and is authorised to do so. [Non-text portions of this message have been removed] ------------------------ Yahoo! Groups Sponsor --------------------~--> Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/XISQkA/lOaOAA/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/

