Re: SVG within file with extension .xhtml/.html
Robert Longson <[email protected]> Sat, 6 Nov 2010 03:18:12 -0700 (PDT)
| Newsgroups | gmane.comp.mozilla.devel.svg |
|---|---|
| Organization | http://groups.google.com |
| Message-ID | <d6f473f2-6687-4e44-bfc3-5c08b7c85ef4@a30g2000vbt.googlegroups.com> |
On Nov 6, 9:53 am, Otto Wyss <[email protected]> wrote: > Robert Longson wrote: > > SeaMonkey 2.0.8 does not support html5 so you can't embed SVG into > > html using markup. Your options are either to use the DOM to add SVG > > Thanks a lot. Can you give me any hint how to change the code using the DOM so I > can work on the code in my environment? The SVG code isn't from me so I'm not > very familiar but I'd like to extend it so one day it may become usable for OSM. > It's a very different way of working, you have to build up each element one at a time in javascript. There are tutorials if you search for them. This one for instance: http://www.kevlindev.com/tutorials/basics/shapes/js_dom/index.htm > Besides is there a usefull tutorial about SVG? I'd rather don't like to dig into > W3C documents, they are more or less unreadable. Plenty, just search for them. Here's one I know: http://www.w3schools.com/svg/default.asp Best regards Robert.