Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Scroller Help

Status
Not open for further replies.

dontpunchme

Programmer
Jul 29, 2002
20
US
Hi,

I have a current scroller script shown here:


The script contains has items in an array that it cycles through and scrolls up the page (within a box):

singletext[0]='<div align="left" STYLE="color:green"><a href="#">30 yr</a> fixed</div>'
singletext[1]='<div align="left" STYLE="color:green"><a href="#">15 yr</a> fixed</div>'

When it the script runs, it dispays the contents from the first array "30 Year fixed" in a window that is approx three lines high. Before the next item in the array displays, the script waits for the firt item to completely exit the window. So.. there is a delay in seeing the next item.

I am trying to make it dislay where the items show up one after another, and after it gets to the end, it re-displays the first item without a space.

Example:

30 year fixed
15 year fixed
5 year fixed
3 year arm

Like I said above, when the 30 year fixed scrolls past the top of the window, I would like it to be moved to the end of the list (without a gap).

Example.

15 year fixed
5 year fixed
3 year ARM
10 year fixed

Please see this URL for an example of where I am currently at with the script:


BTW, the scroll speed also seems to speed up while leaving the window. Not sure why.

Thanks for your help. Sorry I am clueless.

Mike
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top