By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,176 Members | 1,101 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,176 IT Pros & Developers. It's quick & easy.

Javascript,SVG and Opera

P: n/a
Hi,

I have a simple question. How do you get Opera to work with SVG and
Javascript? Can someone point me to a site where the two work together?

Many thanks

Alain

Jul 23 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
al********@yahoo.fr wrote:
I have a simple question. How do you get Opera to work with SVG and
Javascript? Can someone point me to a site where the two work
together?


Wouldn't know about Opera, but http://www.adobe.com/svg/ has some pretty
nice SVG stuff.

Berislav
Jul 23 '05 #2

P: n/a


al********@yahoo.fr wrote:

I have a simple question. How do you get Opera to work with SVG and
Javascript? Can someone point me to a site where the two work together?


Opera 8 has native support for SVG Tiny I think and SVG Tiny does not
include scripting. So script inside SVG documents is not supported with
Opera 8 and its native SVG support.
If you want to get script in a HTML document manipulate an embedded SVG
graphics then that should work in theory with mixed namespace documents
using XHTML and SVG elements and script in the XHTML document but so far
it is not clear whether Opera wants to support that, when Opera 8 beta
was out I filed a bug with the test case
<http://home.arcor.de/martin.honnen/operaBugs/op8/fillChangeEmbeddedSVG.xhtml>
which now works with the Opera 8.00 release but more complex stuff like
<http://home.arcor.de/martin.honnen/operaBugs/op8/dynamicSVGScript1.xhtml>
does not work correctly, there the added circle elements do not show up
unless you force a repaint with zooming into the graphics.

What you can do is use the Adobe SVG plugin with Opera, then you can
make use of the internal script engine the plugin comes with to have
scripting in SVG documents. But you can't communicate between script in
a HTML document and script in a SVG document.
--

Martin Honnen
http://JavaScript.FAQTs.com/
Jul 23 '05 #3

P: n/a
Berislav Lopac wrote:
al********@yahoo.fr wrote:
I have a simple question. How do you get Opera to work with SVG and
Javascript? Can someone point me to a site where the two work
together?


Wouldn't know about Opera, but http://www.adobe.com/svg/ has some
pretty nice SVG stuff.


And this: http://my.opera.com/community/articl...ers/enablesvg/

Berislav
Jul 23 '05 #4

P: n/a
I know of this site. Unfortunately, the site does not work with Opera !

Jul 23 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.