Reputation: 20484
The following code slides down some content. It should push the rest of the page down to, and it does but it does not animate it. It statically jumps at the end of the animation.
$(window).load(function(){
$('.panel.autoc').effect('shake', {times:5}, 80);
$('.errors').slideDown(800);
});
Upvotes: 0
Views: 415
Reputation: 69915
Since you are animating right after the page load you might see such behavior in most of the browsers. Try to give some delay after page loads and then slide it. Try this
$(window).load(function(){
setTimeout(function(){
$('.panel.autoc').effect('shake', {times:5}, 80);
$('.errors').slideDown(800);
}, 200);
});
Upvotes: 1