Last time I played with the SVG DOM, Gecko easily had the closest to
complete implementation. E.g., it implemented SVGMatrix and you could
do circle.r.baseVal = 10 instead of circle.setAttribute("r", "10").
ASV, on the other hand, really didn't support any of that. Things
might have changed recently, however (I haven't tested the SVG DOM in
Opera).

As for analogue clocks, I also have one here:
http://www.browserland.org/scripts/svgclock/

Instead of using the rotation transform, I just use a little bit of
math (polar coordinates) to set the (x2,y2) coordinates of 3 line
segments.

Lastly, it is very possible to serve IE6 actual XML (XHTML+SVG) and
get it to render inline SVG via ASV. It just requires an XSLT
transformation which takes unprefixed markup and dumps prefixed
markup, and inserts the <?import?> hacks into the head of the
document. I have something that does there here:
http://www.browserland.org/xmlstuff/cxd/
(It also does primitive XInclude and MathML transforms too). Instead
of inserting all the hacks and prefixing your XML directly in your
markup, the xslt document will take care of that for you, and you can
write inline markup as you would for a real xml-aware browser such as
Opera or Firefox.



-Jason Davis


--- In [email protected], "Kam-Hung Soh" 
> 
> I think it should be possible to write something like the following to
> change a circle's radius, "c.r = 50", rather than the more verbose
> "c.setAttribute('r', '50')".
> 
> More stuff to try when I have some spare time!
> 
> -- 
> Kam-Hung Soh
> http://kamhungsoh.blogspot.com - It Mostly Works
> http://members.optusnet.com.au/~khsoh - Software That Mostly Works
>









-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to