grawss
07-09-03, 03:35 AM
I have the following script:
<SCRIPT LANGUAGE="JavaScript">
<!--
now=new Date();
day=now.getDay();
document.write("<IMG SRC='image/" + day + ".gif' WIDTH=250 HEIGHT=200 ALT='0.gif'>");
//-->
</script>
All I need to know is how to change it a little: I want it to display a picture for each day, except go on forever, so it never stops, and when there are no more pictures to load, it starts over.
Thank You,
Grawss
<SCRIPT LANGUAGE="JavaScript">
<!--
now=new Date();
day=now.getDay();
document.write("<IMG SRC='image/" + day + ".gif' WIDTH=250 HEIGHT=200 ALT='0.gif'>");
//-->
</script>
All I need to know is how to change it a little: I want it to display a picture for each day, except go on forever, so it never stops, and when there are no more pictures to load, it starts over.
Thank You,
Grawss