From: John Resig Date: Fri, 16 Jun 2006 02:01:39 +0000 (+0000) Subject: IE is now forced layout if it doesn't have it (such that opacity now works as expecte... X-Git-Url: http://git.asbjorn.biz/?a=commitdiff_plain;h=4c572bdf56a95c6462027d18d80e6ed6cebbfd3e;p=jquery.git IE is now forced layout if it doesn't have it (such that opacity now works as expected). (Ticket #4). --- diff --git a/fx/fx.js b/fx/fx.js index 665f895..559e4f6 100644 --- a/fx/fx.js +++ b/fx/fx.js @@ -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;