
I am flustered on this 'Quote Of The Day' Script.
I want to make it a DAILY, 24 hour script that CHANGES the script to the VERY NEXT ONE in line. I want it set to MY TIMEZONE of Central Standard Time, (GMT -6:00).
So far I have this script which RANDOMLY thows out a different script each time you
reset this page...I don't want RANDOM I want ORDER 1,2,3,4 and so on in ORDER.
Here's a demo script with 3 quotes out of 30 that I have.
<SCRIPT language=JavaScript>
var quotes=new Array()
quotes[0]="<i>If the facts don't fit the theory, change the facts.</i><BR><font color=#000000>- Albert Einstein</font>"
quotes[1]="<i>It's not the hours you put in your work that counts, it's the work you put in the hours.</i><BR><font color=#000000>- Sam Ewing</font>"
quotes[2]="<i>Pleasure in the job puts perfection in the work.</i><BR><font color=#000000>- Aristotle</font>"
quotes[3]="<i>When a man tells you that he got rich through hard work,<BR>ask him: Whose?</i><BR><font color=#000000>- Don Marquis</font>"
var whichquote=Math.floor(Math.random()*(quotes.length ))
</script>
<BODY>
<script>
document.write("<font face=arial size=4 color=#ffffff><B>" + (quotes[whichquote]) + "</B></font>")
</script>
</BODY>
Should I add the first line below to mean 24 hours? How would I complete it?
Should I add the second line below to give order instead?
var interval = 7.5; // for time?
var random_display = 1; // 0 = no, 1 = yes
Thanks!
KRYPTOR
