--- In [email protected], "brucerindahl" <[EMAIL PROTECTED]> wrote:
>
> --- In [email protected], "Jeff Schiller"
> <jeff_schiller@> wrote:
> > Too bad Firefox/Opera don't support SVG-as-image as we recently
> > discussed in this forum. Having to copy the logo into every SVG file
> > we want to reference it is a pain we'll have to endure for the next
> > year or more (but thankfully, due to SVG's open nature, this is
> > possible!).
>
> If you are interested, I load logos via XMLHTTPRequest and it works
> across all browsers. The function is a slight modification of Andreas
> Neumann's code. An example with code is at:
> http://www.lrcwe-data.com/UDFCDx.svg
> Quick fix until we get SVG content in <image> for Opera and Mozilla.
>
> Bruce Rindahl
>
Thanks, Bruce - that's a great example. Might be nicer to just have:
<g onload="importsvg('someFile.svg', this)">...</g>
where importsvg() wraps up your code a little tighter...
Another question to anyone out there: I don't see any way from within
JavaScript to determine the SVGScriptElement
(http://www.w3.org/TR/SVG11/script.html#InterfaceSVGScriptElement)
that contains the current statements being executed. That's kind of
funny because in order for the script to be executing it must be
included in the DOM, right? The script doesn't have any idea which
DOM element contains itself.
-----
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/