Ok,
so i think i figured it out.
As Brian also found out, you need to change the import directives.
New code:
if($.browser.msie && document.namespaces["v"] == null) {
/*
original import with star-hack
document.namespaces.add("v", "urn:schemas-microsoft-com:vml");
var ss = document.createStyleSheet().owningElement;
ss.styleSheet.cssText = "v\\:*{behavior:url
(#default#VML);}"
*/
/*new import with and without star hack(due to star-hack not being
supported nor needed in IE8), also the new import directives to work
in IE8*/
document.namespaces.add("v", "urn:schemas-microsoft-com:vml");
document.namespaces.add("v", "urn:schemas-microsoft-com:vml",
"#default#VML");
var ss = document.createStyleSheet().owningElement;
ss.styleSheet.cssText = "v\\:{behavior:url(#default#VML);*
{behavior:url(#default#VML);}"
}
Also the unit does not default to 'px' anymore, there is one missing
unit spec(left was missing px) in the vmlCurve function, make sure to
specify px in all style-rules:
New code:
function vmlCurve(r,b,c,m,ml,mt, right_fix) {
var l = m-ml-right_fix;
var t = m-mt;
return "<v:arc filled='False' strokeweight='"+b+"px'
strokecolor='"+c+"' startangle='0' endangle='361' style=' top:" + t
+"px;left: "+ l + "px;width:" + r+ "px; height:" + r+ "px' />";
}
Thats it, works for me in both ie7 and ie8. I am using Cornerz 0.6
Yes you love me =)