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

Help! jQuery animate function blows up after second loop!

  • # October 1, 2012 at 2:51 pm

    I’ve built a big ole’ jQuery thread that animates a series of bottles on and off the page.

    See here:

    It works great when you go from ‘flagship’ to ‘seasonal’ to ‘flagship’ to ‘seasonal’ But for some reason when it tries to load the flagship bottles for the third time the bottles shoot 10,000px to the left, instead of the 5,000 that I told them to.

    I’m stuck.

    Thanks for your help!

    # October 1, 2012 at 5:20 pm

    I’ve tried everything several times now, and it just seems to work fine now. I can’t reproduce your problem. Maybe tell us which browser you’re having this problem?

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