Welcome visitor
* Login
* Register
It is currently January 22nd, 2019, 8:54 pm
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » JavaScript



Post new topic Reply to topic  [ 2 posts ] 
Author Message
  automatic scroll down
PostPosted: March 23rd, 2009, 9:24 pm 
User avatar

Posts: 61
can anyone show me how to use the automatic scroll window function for javascript? thank you.


Top
 Profile  
 
  Re: automatic scroll down
PostPosted: March 23rd, 2009, 9:41 pm 
User avatar

Posts: 86
The scroll is horizontal, and vertical
The delay is in milliseconds
function scroll() 
    {window.scrollBy(20,80);
    delay = setTimeout('scroll()',400);}

And you can add this function to any event, like onLoad.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

FORUMS » Client Side » JavaScript


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron