Thanks for that info. I am having problems with the <object>.contentDocument.defaultView approach. I get the error "svgObject.contentDocument has no properties" when I use it as you suggested. Would you have any idea why this is so?
Alternatively I would appreciate if you shared with me how to use the global "parent" or "top" objects and return a reference to the SVG document from the HTML. If there are numerous approaches I would be able to look through them and figure out what I can retrofit to my problem. Again, thanks. Your responses have been of invaluable help to me. --- In [email protected], Jonathan Watt <[EMAIL PROTECTED]> wrote: > 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.h tml#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/

