Yii Framework Forum: JQuery fadeIn or fadeTo IE font problems - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

JQuery fadeIn or fadeTo IE font problems Rate Topic: -----

#1 User is offline   notzippy 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 201
  • Joined: 06-October 08

Posted 02 February 2009 - 10:33 AM

Hi

Had this issue on one of my websites were I rotated the "news" on the front page using the jquery fade out, html(),fade in technique. After the first rotation the text would go to crap - look very pixilated. But the first time everything looked fine. The issue was IE 7 drops ClearType text when you use the fade in / out, because it adds a filter attribute to the element as it is fading but does not remove it at the end. The solution was to remove the filter attribute on the return of the fade like

$('#node').fadeOut('slow', function() {
  this.style.removeAttribute('filter');
});


Article here has a more generic fix described
http://blog.bmn.name...eartype-glitch/

Just thought I would give y'all a heads up..

nz
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users