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

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:

    So I tried to replicate it here:

    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!


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