Div Slide In On Load

  • # November 22, 2012 at 6:03 pm

    I’m trying to have a div slide in on load and I found this example:
    http://jsfiddle.net/jamygolden/Ctv6N/

    So I tried to replicate it here:
    http://jsfiddle.net/ZuWyG/

    However, the div doesn’t seem to be sliding in. Where did I go wrong?

    # November 22, 2012 at 6:13 pm

    Your do not need to have “px” in the animate function

    $(‘#media’).animate({left: 1});

    # November 22, 2012 at 6:17 pm

    This reply has been reported for inappropriate content.

    @zonger, the little things make all the difference!

    Thanks!

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