Re: [svg-developers] HTML-SVG in Firefox

2007-03-30 Thread Olaf Schnabel
Hi Stephen and Martin both approaches worked for me. Thanks for your help. Regards Olaf Martin Honnen wrote: --- In svg-developers@yahoogroups.com mailto:svg-developers%40yahoogroups.com, Olaf Schnabel [EMAIL PROTECTED] wrote: I have a problem with the HTML-to-SVG communication in

RE: [svg-developers] HTML-SVG in Firefox

2007-03-29 Thread Chris Peto
Hi, Why do you even have to use getSVGDocument. The document is the svg document and root is document.documentElement. Cheers, Chris -Original Message- From: svg-developers@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Olaf Schnabel Sent: Donnerstag, 29. März 2007 14:47

Re: [svg-developers] HTML-SVG in Firefox

2007-03-29 Thread Olaf Schnabel
Hi Chris well, in SVG itself you can use these terms. But if you have a script outside of SVG, the access to SVG unfortunately doesn't work so simple :-( Regards Olaf Chris Peto wrote: Hi, Why do you even have to use getSVGDocument. The document is the svg document and root is

Re: [svg-developers] HTML-SVG in Firefox

2007-03-29 Thread Stephen Quintero
This works for me: function init(evt) { if ( window.svgDocument == null ) svgDocument = evt.target.ownerDocument; var SVGRoot = svgDocument.documentElement; } Stephen On 29 Mar 2007 05:47:17 -0700, Olaf Schnabel [EMAIL