jQuery fadeOut() on Divs with Background Color in IE
-
25-09-2019 - |
Question
I have a Javascript function that fades out a standard div with a background color using jQuery fadeOut(). It works fine in Chrome & Firefox but when I try it in IE, the text fades out but the background color remains the same and just disappears without fading out once the text fade has finished. Does anyone have a solution for this problem?
Thanks,
DLiKS
Solution
Try removing the clearType filter that IE applies:
$('#fadingElement').fadeIn(2000, function(){
$(this).css('filter','');
});
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow