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

c# - IMAP GMAIL getting folder list problem -

CUDA shared memory -