Re: [jQuery] Known issue with fadeTo and IE?

2006-12-07 Thread Brice Burgess
Kelvin Luck wrote:
 OK - I've managed to break the problem down to a simple test case:

 http://kelvinluck.com/assets/jquery/fadeBug/

 As you will see, the fade doesn't happen in IE but the callback does. If 
 you get rid of position:relative or any width in the styles of the UL 
 then the fade works fine...

 Any ideas?

 Cheers,

 Kelvin :)
   
I haven't had a chance to play around, but you may want to set display: 
block; on the ul to see if it accepts (renders) the opacity correctly? 
This may alter your underlying layout.

~ Brice

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Known issue with fadeTo and IE?

2006-12-07 Thread Kelvin Luck
Brice Burgess wrote:
 Kelvin Luck wrote:
 OK - I've managed to break the problem down to a simple test case:

 http://kelvinluck.com/assets/jquery/fadeBug/

 As you will see, the fade doesn't happen in IE but the callback does. 
 If you get rid of position:relative or any width in the styles of the 
 UL then the fade works fine...

 Any ideas?

 Cheers,

 Kelvin :)
   
 I haven't had a chance to play around, but you may want to set display: 
 block; on the ul to see if it accepts (renders) the opacity correctly? 
 This may alter your underlying layout.
 
 ~ Brice

Thanks for the suggestion but I tried it out and it didn't make any 
difference :(

Any other ideas?

Cheers,

Kelvin :)

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Known issue with fadeTo and IE?

2006-12-07 Thread Dave Methvin
 OK - I've managed to break the problem down to a simple test case:

 http://kelvinluck.com/assets/jquery/fadeBug/

 As you will see, the fade doesn't happen in IE but the callback does. 
 If you get rid of position:relative or any width in the styles of the 
 UL then the fade works fine...

Notice that the elements jump down in Firefox, and that the As you can
see... paragraph jumps down in IE. Neither of those things should happen,
right?

Also,  $('fade-me').attr('opacity', 0.5)  document.ready gives an IE script
error in jQuery.attr on the line with elem.filter, because style.filter is
undefined at that point. Even after fixing that, IE doesn't honor the
opacity although I can see it's been set in the filter. So that part of the
problem seems to be outside the fx code.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Known issue with fadeTo and IE?

2006-12-07 Thread Brandon Aaron
On 12/7/06, Dave Methvin [EMAIL PROTECTED] wrote:
 Also,  $('fade-me').attr('opacity', 0.5)  document.ready gives an IE script
 error in jQuery.attr on the line with elem.filter, because style.filter is
 undefined at that point. Even after fixing that, IE doesn't honor the
 opacity although I can see it's been set in the filter. So that part of the
 problem seems to be outside the fx code.

You can't set opacity by using attr(). $('#fade-me').css('opacity',
0.5) should work fine though.

--
Brandon Aaron

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Known issue with fadeTo and IE?

2006-12-07 Thread Kelvin Luck
Hi,

Thanks for the feedback, I've put my comments in below...

Dave Methvin wrote:
 OK - I've managed to break the problem down to a simple test case:

 http://kelvinluck.com/assets/jquery/fadeBug/

 As you will see, the fade doesn't happen in IE but the callback does. 
 If you get rid of position:relative or any width in the styles of the 
 UL then the fade works fine...
 
 Notice that the elements jump down in Firefox, and that the As you can
 see... paragraph jumps down in IE. Neither of those things should happen,
 right?

Yeah - neither of these things should happen but I'm not bothered by 
them. They only happen on this test case page I chucked together and not 
on the actual page I am using... And they happen cross browser so don't 
seem related to the IE not working problem...

 
 Also,  $('fade-me').attr('opacity', 0.5)  document.ready gives an IE script
 error in jQuery.attr on the line with elem.filter, because style.filter is
 undefined at that point. Even after fixing that, IE doesn't honor the
 opacity although I can see it's been set in the filter. So that part of the
 problem seems to be outside the fx code.
 

What is attr('opacity') anyway? Do you mean css('opacity')?

I've put together another simpler test case which doesn't involved the 
animation:
http://kelvinluck.com/assets/jquery/fadeBug/index2.html

As you can see, the problem lies in the code which sets the opacity. 
This page works fine in FF and in IE if you remove either of the 
mentioned styles (see 
http://kelvinluck.com/assets/jquery/fadeBug/index3.html for an example). 
But when those styles are there it breaks...

Thanks for any more ideas,

Kelvin :)

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Known issue with fadeTo and IE?

2006-12-07 Thread Kelvin Luck
Brandon Aaron wrote:
 So in my little bit of testing IE7 shows that the filter is applied
 because the text has the smoothing removed. Also, it only works for me
 (IE6 and 7) by removing position: relative; and it doesn't matter if
 it has a width or not. Position absolute made it fail also.
 
 I ran into some weird CSS issues just yesterday with position relative
 in IE. I'll go through some more testing ...
 

Thanks for taking a look :)

Are you sure it doesn't matter if you have width or not? The following 
both work OK for me (IE 6, WinXP):

http://kelvinluck.com/assets/jquery/fadeBug/index3.html (position, no width)

http://kelvinluck.com/assets/jquery/fadeBug/index4.html (width but no 
position)

It is only this one that fails:

http://kelvinluck.com/assets/jquery/fadeBug/index2.html (position and 
width).

I guess the question is - is it a problem with IEs internal rendering of 
the opacity or is the problem in how jQuery is setting the opacity?

Cheers,

Kelvin :)

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Known issue with fadeTo and IE?

2006-12-07 Thread Brandon Aaron
index3.html and index2.html both fail in IE7 but only index2.html
fails in IE6. I really doubt this has anything to do with how jQuery
applies the opacity in IE but more to do with IE and its filter.

--
Brandon Aaron


On 12/7/06, Kelvin Luck [EMAIL PROTECTED] wrote:
 Brandon Aaron wrote:
  So in my little bit of testing IE7 shows that the filter is applied
  because the text has the smoothing removed. Also, it only works for me
  (IE6 and 7) by removing position: relative; and it doesn't matter if
  it has a width or not. Position absolute made it fail also.
 
  I ran into some weird CSS issues just yesterday with position relative
  in IE. I'll go through some more testing ...
 

 Thanks for taking a look :)

 Are you sure it doesn't matter if you have width or not? The following
 both work OK for me (IE 6, WinXP):

 http://kelvinluck.com/assets/jquery/fadeBug/index3.html (position, no width)

 http://kelvinluck.com/assets/jquery/fadeBug/index4.html (width but no
 position)

 It is only this one that fails:

 http://kelvinluck.com/assets/jquery/fadeBug/index2.html (position and
 width).

 I guess the question is - is it a problem with IEs internal rendering of
 the opacity or is the problem in how jQuery is setting the opacity?

 Cheers,

 Kelvin :)

 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Known issue with fadeTo and IE?

2006-12-05 Thread Brandon Aaron
It is a known issue. The next release should be just around the corner
... or just grab the latest from svn.

--
Brandon Aaron

On 12/5/06, Kelvin Luck [EMAIL PROTECTED] wrote:
 Hi,

 Is there any known issues with 1.0.3 and the latest svn which should
 effect fadeTo in IE? On a page I'm building it seems fadeTo is being
 ignored (although the callback for after the animation is still firing).
 Of course everything works fine in Firefox...

 If it's not a known issue I'll attempt to strip down my page to a
 simplified example for you to look at,

 Cheers,

 Kelvin :)

 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Known issue with fadeTo and IE?

2006-12-05 Thread Kelvin Luck
I've still got the issue with r670 (built from svn about an hour ago) so 
I guess I should put together an example page? Seems like it's a 
different issue...

Cheers,

Kelvin :)

Brandon Aaron wrote:
 It is a known issue. The next release should be just around the corner
 ... or just grab the latest from svn.
 
 -- 
 Brandon Aaron
 
 On 12/5/06, Kelvin Luck [EMAIL PROTECTED] wrote:
 Hi,

 Is there any known issues with 1.0.3 and the latest svn which should
 effect fadeTo in IE? On a page I'm building it seems fadeTo is being
 ignored (although the callback for after the animation is still firing).
 Of course everything works fine in Firefox...

 If it's not a known issue I'll attempt to strip down my page to a
 simplified example for you to look at,


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/