The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

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