IE document.ready and VML namspaces
Hi
I am trying to automatically add in namespaces into IE for my cornerz
plugin
(http://parkerfox.parkerfox.railsplayground.net/cornerz/)
However I am finding that it fails on the first line of the following
code in IE (6)
if($.browser.msie && document.namespaces["v"] == null) {
document.namespaces.add("v", "urn:schemas-microsoft-com:vml");
var ss = document.createStyleSheet();
ss.cssText = "v\\:*{behavior:url(#default#VML);}"
}
I am using jQuery 1.2.3.
Any ideas ?
Jonah