View Single Post
Old 12-01-2005, 01:45 AM  
latinasojourn
Confirmed User
 
Join Date: Oct 2003
Posts: 3,191
Quote:
Originally Posted by J.P.
try replacing the line that says:

Code:
today=numdays+tdays
with:

Code:
today=(numdays + tdays) % daylinks.length
and start the daylinks array with offset 0, like this:

Code:
daylinks[0]="http://www.cnn.com,CNN"
daylinks[1]="http://www.abcnews.com,ABCNews"
daylinks[2]="http://www.cnet.com,ABC"
daylinks[3]="http://www.geocities.com,Geocities"
daylinks[4]="http://www.lycos.com,Lycos"
daylinks[5]="http://www.infoseek.com,Infoseek"
...
this should solve your problem...


great, it does resolve, and does not change on refresh, and i hope it will change again tomorrow.

you are a king!

THANKS SO MUCH!!!!!!!!
latinasojourn is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote