Doug Schepers wrote:

>I use <iframe>, and find it to be robust, as well as standards compliant.

Hi Doug, and thanks for the kind words. 

I would like <iframe> but haven't figured out how from within IE HTML to locate 
the SVG Document.
(getSVGDocument() -- works with <embed> and <object> -- but doesn't seem to 
work with <iframe>).

In Opera and Firefox, I can use:

    Iframe=document.getElementById(id_of_iframe)
    CW=Iframe.contentWindow;
    SVGDocument=CW.document

But in IE7/ASV that gives me "access is denied error". That's why I resorted to 
the trick of
having the SVG root tag contain
    onload="top.receive(document)"
and then let the HTML script have a function
    receive(D){SVGDoc=D}.

Once I've done that that I can script back and forth between DOMs. The hassle 
is that this forces the SVG document to have to "want to cooperate". 

So I guess I'm still wondering how to access an arbitrary SVG document within 
an iframe from script in the HTML, from IE/ASV. 

Could this be another IE7 oddity?

best regards,
David


[Non-text portions of this message have been removed]



-----
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/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> 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