Menu
Greetings all!
How can I convert this quote of the day script to a pic of the day script?…
OR…
A script that will let me display a new pic a day from a collection of pictures…
Anyone?
var oneDay=1000*60
var dayNumber=Math.floor(new Date().getTime()/oneDay)
var myQ=new Array()
myQ[myQ.length]=”Being truthful, when you know it will cost you, is the true test of honesty”
myQ[myQ.length]=”Wonder is what sets us apart from other life forms. No other species wonders about the meaning of existence or the complexity of the universe or themselfs”
var picked=dayNumber%myQ.length
document.write(myQ[picked])