Professional Documents
Culture Documents
Automatic Scrolling
Automatic Scrolling
var bytefreaksTimeout;
function bytefreaksScroll() {
window.scrollBy(0,1000);
bytefreaksTimeout = setTimeout(bytefreaksScroll,10);
}
bytefreaksScroll();
As you will see in the following video, the scrolling was working flawlessly, once
the scrolling reached the place we needed it to we used the following line in the
console to stop the scrolling.
1
clearTimeout(bytefreaksTimeout);