Side navigation
#65 closed bug (fixed)
Opened July 13, 2006 11:21PM UTC
Closed July 24, 2006 03:51AM UTC
Last modified June 20, 2007 01:21AM UTC
Opacity style attribute bug
Reported by: | john | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.0 |
Component: | effects | Version: | 1.0 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
John,
This bug ocuress becose IE don't have opacity as style attribute and
z.cur function in fx returns NaN.
Get the current size
z.cur = function(){
return parseFloat( jQuery.css(z.el,prop) );
};
z.cur with fix
Get the current size
z.cur = function(){
if (prop == "opacity" && window.ActiveXObject)
return parseFloat( jQuery.css(z.el,"filter").replace(/D+/, '') ||
100 ) / 100;
return parseFloat( jQuery.css(z.el,prop) );
};
Fixed in SVN.