Hi Martin , and welcome to the fun world of cross browser development.

Probably your best bet is to place the svg image in an iframe as this
will work fine for any of the browser contexts that support SVG.
It also has the added benefit of being w3.org valid.

Another way is to place an embed element inside an object element
although this latter approach will not validate.




Martin Honnen wrote:
> I have run into a strange behaviour with Opera 9 and I am looking for
> others to test whether with their system the same behaviour occurs.
>
> I have a Windows XP system with Opera 9 installed. The Adobe SVG
> viewer 3 is also installed to render SVG with IE 6. Opera is
> configured to render SVG with its native SVG implementation and to
> handle text/xml and application/xml documents itself.
>
> When this SVG document 
> <http://home.arcor.de/martin.honnen/operaBugs/op9/SVG/test2006122301.xml>
> is loaded directly into an Opera browser window it is rendered by
> Opera itself, as you can see from the navigator.appName output.
>
> When the same SVG document is embedded with an embed element in this
> HTML document
> <http://home.arcor.de/martin.honnen/operaBugs/op9/SVG/test2006122301.html>
> then, at least on my system, Opera uses the Adobe SVG viewer to render
> the SVG document.
> Can anyone test that and please report whether the same behaviour
> occurs or not?
> Thanks in advance.
>
> The reason seems to be that the SVG document is served as
> application/xml (or text/xml where the same problem occurs). When I
> embed an SVG document served as image/svg+xml into a HTML document
> then Opera uses its own native SVG implementation.
>
> (For the Opera guys monitoring this group, I have filed the problem as
> bug 245150.)
>   



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

Reply via email to