Friday, April 20, 2012

jQuery fadeIn and IE7-8 opacity

FadeIn on an absolutely positioned div with opacity=80 wasn't working on IE7-8.  Found the solution on stackoverflow:  set filter on the element before calling fadeIn.  For example:

$("#testdiv").css('filter', 'alpha(opacity=80)').fadeIn();

No comments:

Post a Comment