jquery - Timed scrolling in javascript -


i need script scrolls automatically throught page without buttons,i want scroll down every 10 seconds , return top when done,how in javascript?

thanks, lee

you want use combination of jquery scrollto() plugin , javascript settimeout() function. (pseudocode):

settimeout(scrollmypage, 10000) {     if (at bottom of page)     {         scroll top     }     else     {         scroll down height of browser window/a page     } } 

Comments

Popular posts from this blog

jQuery clickable div with working mailto link inside -

WPF: binding viewmodel property of type DateTime to Calendar inside ItemsControl -

java - Getting corefrences with Standard corenlp package -