jqModal does not work with 1.2.5 (6) due to this line of code in
jqModal

z=(/^\d+$/.test(h.w.css('z-index')))?h.w.css('z-index'):c.zIndex,

In previous versions of jQuery the line
(/^\d+$/.test(h.w.css('z-index'))) return undefined in IE6/IE7 (i.e.
false)
In 1.2.5 this return 0  (true) which is right, since of z-index bug in
IE6/IE7
More about this problem can be found here:
http://aplus.co.yu/lab/z-pos/

IMHO I think that this line in jqModal shoud be changed

Regards
Tony


On May 29, 5:59 am, mojock <[EMAIL PROTECTED]> wrote:
> I'm having the same exact problem.  1.2.3 works perfectly fine, but
> 1.2.5/.6 does not work - specifically with jqmodal.
>
> On May 28, 5:49 am, M_Freeman <[EMAIL PROTECTED]> wrote:
>
> > Once I upgraded to 1.2.5 and 1.2.6 there seems t be a problem with the
> > way that jQuery sets the opacity filter in IE, specifically for items
> > that on the initial render are 'display:none'  At first I thought it
> > was my plugins involved (jqgalviewii , jqmodal, and idtabs) but once I
> > dived into the code it seems like the problem may be somewhere in
> > lines 1099 - 1113.  This problem did not exist in 1.2.3 or 1.2.2.
>
> > jQuery 1.2.6
> >  // IE uses filters for opacity
> > 1099 if ( msie && name == "opacity" ) {
> > 1100 if ( set ) {
> > 1101 // IE has trouble with opacity if it does not have layout
> > 1102 // Force it by setting the zoom level
> > 1103 elem.zoom = 1;
> > 1104
> > 1105 // Set the alpha filter to set the opacity
> > 1106 elem.filter = (elem.filter || "").replace( /alpha\([^)]*\)/, "" )
> > +
> > 1107 (parseInt( value ) + '' == "NaN" ? "" : "alpha(opacity=" + value
> > * 100 + ")");
> > 1108 }
> > 1109
> > 1110 return elem.filter && elem.filter.indexOf("opacity=") >= 0 ?
> > 1111 (parseFloat( elem.filter.match(/opacity=([^)]*)/)[1] ) / 100) +
> > '':
> > 1112 "";
> > 1113 }
>
> > Any ideas?

Reply via email to