The slideDown() applied to a div element does the slide down, but doesn't scroll the page down and the div slided down div remains hidden from view.
Is there a way to scroll the page down as well so the user can view the div?
Quick demo here
Basically all you need is
$('html, body').animate({
scrollTop: $('#yourDiv').offset().top
}, 3000);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With