Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to keep scrolling with javascript

function scrolldown() {
  setTimeout(
    function()
    {
      window.scrollTo(0,document.body.scrollHeight);
      scrolldown();
    }, 2000
  )
}

scrolldown()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #scrolling #javascript
ADD COMMENT
Topic
Name
9+5 =