How to jQuery slidedown once page has already been loaded

Posted by bulltorious on Stack Overflow See other posts from Stack Overflow or by bulltorious
Published on 2010-04-15T16:27:53Z Indexed on 2010/04/15 16:33 UTC
Read the original article Hit count: 386

Filed under:
|
|
|

I am having a timing issue when attempting to slide down my more info div. My desired functionality is that the div slidesdown from the top once the page has already been rendered. My problem is if I use $(document).ready().. the animation does not visibly occur.

Here is my code:

    $(document).ready(function() {
        $(".MoreInfo").slideDown('slow');
    });

If I strap it to some other element's click for example, it works beautifully. But I am not sure how to make it visibly slide down once the page has loaded. Thanks!

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about slidedown