Results 1 to 2 of 2
08-12-2002, 07:50 AM #1
I'd like the pic to be thumbnailed and link to the larger image when clicked on. Currently, I already have all the thumbnails made but I simply want a script that will post a new one on the main part of the site each time it is loaded or refreshed.
08-13-2002, 10:37 AM #2
and look at the source code. That shows the Sunday ~ Saturday image files based upon the day of the week. It will require cookies to keep track of page reloads for each visitor, but I'm sure that could also be done by revising the SCRIPT.
The SCRIPT is all in
¦today = new Date(); ¦
¦day = today.getDay(); ¦
¦arday = new Array("i/sunday.jpg", "i/monday.jpg", "i/tuesday.jpg", "i/wednesda ...¦
¦document.write("<img border=0 name=bigphoto src='" + arday[day] + "'>"); ¦
(That was cut and pasted from my DOS QEdit program - ergo the odd characters.)