All Posts by Email, Once a Week

Media Temple logo

CSS-Tricks is brought to you in part by Media Temple, the web hosting that we both use and recommend.

strange error with fadein/fadeout & stop

  • # January 20, 2010 at 4:23 am

    I’ve noticed a strange error in this script

    function() { $j(this).children(‘.testo’).stop().fadeIn(400);}
    , function() { $j(this).children(‘.testo’).stop().fadeOut(400);}

    this code just fade in an image that is set to display:none in the css and fade it out when the mouse is out.

    the html is something like that.

    some text

    but if I hover the image faster the text starts to fade out a bit more everytime without returning to the normal opacity.
    I attach two screenshots so you can figure out it a bit easily.


    thanks a lot.

    # January 25, 2010 at 12:24 pm

    no one?

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed