<script type="text/javascript"><!--
var imlocation = "Images/";
function ImageArray (n) {
this.length = n;
for (var i =1; i <= n; i++) {
this[i] = ' '
}
}
image = new ImageArray(7);
image[0] = 'sunday.PNG';
image[1] = 'monday.PNG';
image[2] = 'tuesday.PNG';
image[3] = 'wednesday.PNG';
image[4] = 'thursday.PNG';
image[5] = 'friday.PNG';
image[6] = 'saturday.PNG';
var currentdate = new Date();
var imagenumber = currentdate.getDay();
document.write('<img src="' + imlocation + image[imagenumber] + '">');
//--></script>
Could changes to this script be applicable to background images, and if so, what changes need to be made? Any input is surely appreciated.
Patience...Persistence...Practice
http://www.boothkates.com
http://www.susiekatesdesigns.com
http://www./paradisecovemarinahs.com
http://www.thehillsab.com