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

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -