Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
dph
Junior Mechanic
Posted
Greetings.

I thought I would share the following post and reply from the Firefox User Forum.

===============
After authoring a SVG page with a tool called SiteSpinnerV2, I attempted to view it with FF1.5. Many empty tabs flew by on my screen, and I was only able to stop the behavior by clicking the stop load button. I consulted some of the online SVG documentation and editted the page code, but did not have any success.

dphawk
===============


===============
Hi dphawk. The only real problem with the initial section of the code generated by SiteSpinnerV2 is that it doesn't bind the XLink namespace to the xlink namespace prefix, but the file then goes on to use it anyway. In plain English, the <svg> tag needs to have an attribute xmlns:xlink="http://www.w3.org/1999/xlink". So it should start like this:


<svg xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
width="100%"
height="100%"
onmousedown="mouseDown(evt);"
onkeypress="keyPress(evt);"
onmousemove="mouseMove(evt);"
onmouseup="mouseUp(evt);"
onload="StartAnimation(evt);">
<title>title</title>
<desc>index</desc>


For more information and guidelines on writing SVG that will work cross-browser please see http://jwatt.org/svg/authoring/#namespace-binding . It would also be great if you could contact the SiteSpinnerV2 people and encourage them to read that doc and fix their SVG.
===============

Best regards,
 
Posts: 3 | Registered: November 09, 2005Reply With QuoteEdit or Delete MessageReport This Post
VM Staff
Picture of Derry
Posted Hide Post
Thanks for passing this on dph, as mentioned on the other thread we're keeping our eye on how this is progressing.


- Derry
 
Posts: 4089 | Location: Toronto, Canada | Registered: January 08, 2003Reply With QuoteEdit or Delete MessageReport This Post
D_L
Honorary Mechanic
Picture of D_L
Posted Hide Post
Returning to the forum after some time away .. I note that SVG demos are still not working in Firefox 1.5 .. but o.k. in IE ..

e.g.
http://www.virtualmechanics.com/products/engine/demos/keypath.svg
 
Posts: 415 | Location: U.K. | Registered: July 06, 2003Reply With QuoteEdit or Delete MessageReport This Post
VM Staff
Picture of Derry
Posted Hide Post
Hi DL, welcome back!

Yes, we are aware of that. First off, keep in mind that FireFox does not include as much of the SVG specification as does the Adobe SVG Viewer, so it can't display as much. Having said that, stick around for a while as you should see something on that in the not too distant future Wink


- Derry
 
Posts: 4089 | Location: Toronto, Canada | Registered: January 08, 2003Reply With QuoteEdit or Delete MessageReport This Post
 Previous Topic | Next Topic powered by eve community  
 


™ & © 1998 - 2008, Virtual Mechanics Inc. All rights reserved.