SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Addict
    Join Date
    Oct 2008
    Posts
    263
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [jQuery] fadeIn/fadeOut problem with IE

    Hello

    I have a problem with the fade in effect of jQuery in IE. I'm using IE6.
    I tried to do add the following function as a callback for the fadeIn function, but still not working
    Code:
    function fixClearType()
    	{
    		if(jQuery.browser.msie)
    		{
      	 		$(this).get(0).style.removeAttribute('filter');
    		}
    	}

  2. #2
    Function Curry'er JimmyP's Avatar
    Join Date
    Aug 2007
    Location
    Brighton, UK
    Posts
    2,006
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    "filter" cannot be removed like that because it is not an attribute.

    It's easier just to do:

    Code JavaScript:
    $(this).css({filter:''});
    James Padolsey
    末末末末末末末末末末末末末末末末末末末
    Awesome JavaScript Zoomer (demo here)
    'Ajaxy' - Ajax integration solution (demo here)

  3. #3
    SitePoint Addict
    Join Date
    Oct 2008
    Posts
    263
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It is still not working.
    I'm using IE6 btw....


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •