Modify ↓
Ticket #65 (closed bug: fixed)
Opacity style attribute bug
| Reported by: | john | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.0 |
| Component: | effects | Version: | 1.0 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
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) );
};
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

Fixed in SVN.