PDA

View Full Version : Cross Browser marquee II



charlesbucket
01-11-2005, 05:45 PM
http://www.dynamicdrive.com/dynamicindex2/cmarquee2.htm

Is there a way to slow this scroller down? The lowest setting (1) is still quite fast. :eek:

FPit
01-11-2005, 06:55 PM
Find this line:

lefttime=setInterval("scrollmarquee()",20)

and change it to:

lefttime=setInterval("scrollmarquee()",50)

Incresing the number will increse delay for each movement. The "var marqueespeed=1" parameter is actually a number of pixels it moves every 20 or 50 or whatever you set it to milliseconds. Good Luck.

charlesbucket
01-13-2005, 08:29 PM
Is there a way that the delay at the beginning can be taken out? The scrolling text is not visible as soon as the page is loaded. If the text started at the top of the visible area it would be ideal, however I've never seen this done before. Thanks for the help so far. It's a lifesaver.

cr3ative
01-14-2005, 03:49 PM
As the script starts at the moment on "onload", it will only display when all images are loaded and the page is fully ready.

cr3ative