Gloudo
01-24-2006, 07:04 PM
Hi all,
I'm looking for a script that shows a different htm-page for each day of the week. I had a script for images, but that didn't work with htm pages.
please help?
This is what i had.
<SCRIPT LANGUAGE="JavaScript">
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Begin
today = new Date();
day = today.getDay();
arday = new Array("sunday.gif", "monday.gif", "tuesday.gif",
"wednesday.gif", "thursday.gif", "friday.gif", "saturday.gif");
document.write("<img src='Week/ " + arday[day] + " '>");
// End -->
</script>
I'm looking for a script that shows a different htm-page for each day of the week. I had a script for images, but that didn't work with htm pages.
please help?
This is what i had.
<SCRIPT LANGUAGE="JavaScript">
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Begin
today = new Date();
day = today.getDay();
arday = new Array("sunday.gif", "monday.gif", "tuesday.gif",
"wednesday.gif", "thursday.gif", "friday.gif", "saturday.gif");
document.write("<img src='Week/ " + arday[day] + " '>");
// End -->
</script>