On Wed, 26 Jan 2005 04:37:17 +0000, Jonathan Watt <[EMAIL PROTECTED]> wrote:
> Since Mozilla sticks to the W3C standards the way to access the
> function defined in your SVG document from scripts defined in your
> HTML document is to use contentDocument
> 
> http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-9893177
> 
> on the HTMLObjectElement object followed by defaultView
> 
> http://www.w3.org/TR/DOM-Level-2-Views/views.html#Views-DocumentView
> 
> to access the global object (window) for the SVGDocument object like this:
> 
> svgObject.contentDocument.defaultView.setData(rs,date_start,date_end)
> 
> But then everyone knew that, didn't they?
> 
> -Jonathan
> 

Another way of doing this is to use the global 'parent' or 'top'
objects from a script in your SVG document to access the window object
for your HTML scripts and create a reference back to the SVG
document's window object.


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