Setting auto-scroll speed
Permalink Browser Info Environment
Is it possible to set a speed on the auto-scroll function, to achieve a nice animated scroll before the content loads?
Type: | Discussion |
---|---|
Status: | New |
Type: | Discussion |
---|---|
Status: | New |
if( scrollTop < $(window).scrollTop() ){
$('html, body').stop().animate({
scrollTop:scrollTop
}, 500);
}