Body Scroll Bar
var scrollToBottom = function() {
window.scrollTo(0, document.body.scrollHeight);
}
var delay = 2000;
var intervalID = setInterval(scroll, delay);
To stop scrolling, use the following code:
window.clearInterval(intervalI D);
No comments:
Post a Comment