W3C home > Mailing lists > Public > www-svg@w3.org > June 2003

Re: getSVGDocument error in DHTML Application

From: Martin Honnen <Martin.Honnen@t-online.de>
Date: Sun, 01 Jun 2003 12:47:52 +0200
To: www-svg@w3.org
Message-ID: <3ED9D9D8.60409@t-online.de>

Evan Dumas wrote:
> I'm using adobe's svg viewer in a dhtml application written in vb. when
> attempting to change the svg document used as the background for the main
> svg document (within the embed tag) i'm getting an error stating. object
> does not support property or method.
> 
> i've seen several articles and examples showing
> document.embeds("embed_element_id").getSVGDocument(); or variations of this
> concept. non of them work. i've even tried the disabling of the browser
> error handler example from adobe and the creation of an active x object and
> using .load to make sure the svg document is loaded.
> 
> Any ideas/help would be much appreciated.

Try (JavaScript)
   document.embeds.embedId.getSVGWindow().getSVGDocument()
Received on Monday, 2 June 2003 03:30:02 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:25 GMT