For some reason this script does not rotate my Java scripts by day of the week. Does anyone know why? I think it is something to do with “document.get” which is needed for objects I think.
<SCRIPT LANGUAGE=”JavaScript”>
today = new Date();
day = today.getDay();
arday = new Array(“sunday.js”, “monday.js”, “tuesday.js”,
“wednesday.js”, “thursday.js”, “friday.js”, “saturday.js”);
document.get(“<src=’
</script>
(By the way, the same script works fine with images like this…
<SCRIPT LANGUAGE=”JavaScript”>
today = new Date();
day = today.getDay();
arday = new Array(“sunday.jpg”, “monday.jpg”, “tuesday.jpg”,
“wednesday.jpg”, “thursday.jpg”, “friday.jpg”, “saturday.jpg”);
document.write(“<img src=’
</script>)
Cheers.