I need your help on my site for the issue of "Scroll automatically to the bottom of the page"
I am currently using the script below to control the auto scroll page, but the only thing is I do not know how to control the scroll speed. Can someone help please?
window.onload=toBottom;
function toBottom()
{
window.scrollTo(0, document.body.scrollHeight);
}
And my site url is : http://worldplatter.com/2014/recipe/beef/
You can use jQuery animate function to scroll the page as you have used jQuery Library in your site like below :
jQuery(window).load(function() {
jQuery("html, body").animate({ scrollTop: jQuery(document).height() }, 1000);
});
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments