JQUERY animate Delay?

Posted by AnApprentice on Stack Overflow See other posts from Stack Overflow or by AnApprentice
Published on 2010-07-13T03:21:53Z Indexed on 2010/12/27 19:54 UTC
Read the original article Hit count: 302

Filed under:
|
|

I'm using JQUERY animate to show a banner at the top of the page, which is a DIV that is set to top -60 to hide it. I'm using the following JS call to show the div:

// Animation
$('#message-dock').animate({
    top: 0
}, 500, function() {
    // Animation complete.
});

What I can't figure out is for some reason there is an unwanted delay before I start seeing the div and I can't figure out why? Any Ideas?

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about animate