Javascript,SVG and Opera

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • alainpoint@yahoo.fr

    Javascript,SVG and Opera

    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

  • Berislav Lopac

    #2
    Re: Javascript,SVG and Opera

    alainpoint@yaho o.fr wrote:[color=blue]
    > 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?[/color]

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

    Berislav


    Comment

    • Martin Honnen

      #3
      Re: Javascript,SVG and Opera



      alainpoint@yaho o.fr wrote:

      [color=blue]
      > 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?[/color]

      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/fillChangeEmbed dedSVG.xhtml>
      which now works with the Opera 8.00 release but more complex stuff like
      <http://home.arcor.de/martin.honnen/operaBugs/op8/dynamicSVGScrip t1.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

      Comment

      • Berislav Lopac

        #4
        Re: Javascript,SVG and Opera

        Berislav Lopac wrote:[color=blue]
        > alainpoint@yaho o.fr wrote:[color=green]
        >> 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?[/color]
        >
        > Wouldn't know about Opera, but http://www.adobe.com/svg/ has some
        > pretty nice SVG stuff.[/color]

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

        Berislav


        Comment

        • alainpoint@yahoo.fr

          #5
          Re: Javascript,SVG and Opera

          I know of this site. Unfortunately, the site does not work with Opera !

          Comment

          Working...