views:

59

answers:

1

how to fix opacity on IE6

This code does not work on IE6 !

filter:alpha(opacity=50);
-moz-opacity:0.5;
-khtml-opacity: 0.5;
opacity: 0.5;

And this code !

$('#description').animate({opacity: 0.0}, 1000);
A: 

If you're working with opacity in jQuery, then the fadeIn, faceOut and fadeTo function should be better than animate. In your case it would be

$('#description').fadeOut(1000);

Or with fadeTo,

$('#description').fadeOut(1000, 0.0);

But it is work on IE6! :(

http://jsbin.com/owisa/3

Where it is not work?

Yi Jiang
it is not work on IE6 too :)
faressoft
@faressoft - I think this one is working. Which part did it not work on you?
Reigel