IE is now forced layout if it doesn't have it (such that opacity now works as expected). (Ticket #4).

This commit is contained in:
John Resig 2006-06-16 02:01:39 +00:00
parent aabfccf371
commit 4c572bdf56

View File

@ -211,6 +211,11 @@ $.fx = function(el,op,ty){
}
};
// IE has trouble with opacity if it doesn't have layout
if ( $.browser == "msie" && !z.el.currentStyle.hasLayout ) {
y.zoom = 1;
}
// Remember the overflow of the element
z.oldOverflow = y.overflow;