Login Register

Dojo and VML

It arrived a while ago with very little fanfare, but I thought I should probably announce that Dojo does, in fact, support inline VML! It happened about 2 months ago--essentially we sniff for IE/Win and add the two required pieces in order for Internet Explorer to correctly render VML markup, all without touching your existing code. This has been tested (privately) with the Chart widget, and there will be a data visualization demo to show it off. Now if you want to write Dojo widgets incorporating or using VML, you can. In the future look for SVG, VML and possibility Canvas in a Canvas-like script API! (Note: Dojo has supported inline SVG since the release of Firefox 1.5 beta 1 (Deer Park); this post refers to the fact that Dojo now also supports inline VML).

[...] This piece mentions

[...] This piece mentions that Dojo now supports VML. Look for support for SVG in the future. [...]

I'll be on #dojo tomorrow

I'll be on #dojo tomorrow (5/13) and working on the cross-browser drawing API. It's looking like a factory approach is going to work best, as you may want to mix shapes with different implementations in browsers that support more than one (SVG and Canvas, VML and Direct Animation)