OZONE Asylum
Forums
DHTML/Javascript
playing around with SVG...
This page's ID:
28602
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
Hi, have any of you guys got hold of a relative new phone that supports SVG format? I have, but I haven't been able to get the script part to work? for instance: [code] <?xml version="1.0"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="100%" height="100%"> <script type="text/ecmascript"> function foo(e){ var SVGDoc = document.getElementById("txt").firstChild; SVGDoc.nodeValue = "Hello World" } </script> <circle id="sirkel" cx="200" cy="200" r="30" style="fill:rgb(200,100,50)" onmouseover="foo(evt)"/> <text id="txt" x="10" y="10">Hello</text> </svg> [/code] I got it to work with various SVG viewers, but at my nokia E60 it doesn't. Is this because SVG Tiny(I guess) doesn't work with script?
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »