Click to See Complete Forum and Search --> : News Scroller


jordanj
06-11-2003, 12:10 PM
Hello,

Was thinking of using the new scroller script located at the URL below. I was wondering if there is a way to modify the script to control the speed of the text that is scrolled.

http://javascript.internet.com/scrolls/news-scroller.html

Thanks

Jeremy

Khalid Ali
06-11-2003, 12:13 PM
Hello Jeremy,
Locate this line in the javascript part of the code

setTimeout("scrollnews(" + cliptop + ")", 150);

and lower the value from 150 to any other number to 1.
lower the number faster the scroll will be.

SearedIce
06-11-2003, 12:15 PM
yep there is

change the number (150) in this line of code:

setTimeout("scrollnews(" + cliptop + ")", 150);

that number (currently 150) is milliseconds between movements

1000 would mean it scrolls a little tiny bit each second

SearedIce
06-11-2003, 12:16 PM
oops...sorry....i guess i lost the posting race

jordanj
06-11-2003, 12:20 PM
Thank you to everyone who replied to my question. I just tried what you suggested and it worked great.

Thanks Again!

Jeremy