Site icon BMR Technology

JQuery fadeIn/Out IE display issue

Have you run into an issue with text not displaying correctly in IE when using animation effects like fadeIn, fadeOut etc?

Here is a nice post on how to fix the issue. One thing to note, adding a background-color to the div is an easy fix and works well. Unfortunately sometimes we can’t add a background color if we make use of background images and other css items.

This little snippet will do the trick

$(‘#somediv’).fadeOut(‘slow’, function() {

if(jQuery.browser.msie)

this.style.removeAttribute(‘filter’);

});

Here is the full post

http://blog.bmn.name/2008/03/jquery-fadeinfadeout-ie-cleartype-glitch/

Exit mobile version