3 ms·
>Basically, what he needs is SVG. :-) Yes. It's incredibly frustrating that we can't rely on embedding SVG in HTML. (Last I looked--about 2.5 years ago, admi
by metageek 16y ago
>Basically, what he needs is SVG. :-)
Yes. It's incredibly frustrating that we can't rely on embedding SVG in HTML. (Last I looked--about 2.5 years ago, admittedly--only Firefox could do it, and only with XHTML.)
- weavejester 16y agoOnce IE 9 comes out, the majority of browsers will support inline SVG. Only Opera is currently an unknown: http://caniuse.com/#cats=SVG,Summary&statuses=rec,pr,cr,wd,ietf http://caniuse.com/#cats=SVG,Summary&statuses=rec,pr,cr,...
- metageek 16y agoThanks!
- pak 16y agoYou should check out http://raphaeljs.com/ http://raphaeljs.com/ , which basically unifies the SVG API in a cross-browser way. In IE, it translates everything to VML on the fly. You need to transcode your SVG to Raphael's JSON-based format, but it's not hard to do.
- metageek 16y agoThanks, I'll take a look next time I need it.