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

jQuery question

  • # June 9, 2008 at 3:47 pm

    Hi.. I’m trying to tie up some loose ends on a site I’m developing, and I’m using a bit of jQuery to pop up some images. You can see the example here:

    When you hover over one of the services with a red marker, an image will popup showing the service. My problem is that sometimes when you hover over an object, the animation fires twice, making the image flash one time then come back again and stay on. Also, if you hover over an object several times really quickly, the animation is done over and over again (as many times as the object was hovered over). I’ve tried messing around with stopping that animation (using an if statement and the .stop() function), but just haven’t been able to get it working right. Any jQueryasts out there with the solution? (Thanks!)


    # June 10, 2008 at 12:24 am

    This reply has been reported for inappropriate content.

    When posting a question about code, any code. it is a very good idea to post the code that you are using so that someone who may beable to help you can just add the correct command or atleast read you code to see if there is a mistake that you made that is causing the error.

    # June 10, 2008 at 1:35 am

    yeah, sorry… I guess I was assuming everyone just uses firebug now…

    the jQuery:

    $(document).ready(function() {
    }, function () {

    the html:

  • Generator installation, servicing, and sound deadening

don’t think the css is necessary… course you could always firebug it… :)

Viewing 3 posts - 1 through 3 (of 3 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