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

Thumbnails fadein fadeout specific div

  • # January 5, 2010 at 1:38 pm

    I am using this code to hide and show a div based on which thumbnail you rollover;

    $(“.website_thumbs a”).hover(
    var name = $(this).attr(“name”);
    var name = $(this).attr(“name”);

    The script gets the name attribute from the thumbnail and displays the div with the corresponding class. Each div shares the .infodiv class but also has a class unique to each thumbnail.

    The functionality is basically where I want it but when you scroll over the thumbnails fast some of the divs get stuck in a kind of half faded-in state and stop working unless i roll over them once – then they slow fade in and they are usable again.

    I am a bit new to jQuery and would appreciate any help.

Viewing 1 post (of 1 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