inherit
Beware the ever changing head
33588
0
Nov 18, 2023 0:32:44 GMT -8
Ross
19,039
November 2004
elindir
|
Post by Ross on Jan 29, 2006 14:49:41 GMT -8
Main Header<div id="photoHolder" style="margin: auto; text-align: center;"></div>Main Footer<script type="text/javascript"> <!-- /* calendar pictures */ var pics = []; pics[0] = 'Jan Picture'; pics[1] = 'Feb Picture'; pics[2] = 'Mar Picture'; pics[3] = 'April Picture'; pics[4] = 'May Picture'; pics[5] = 'Jun Picture'; pics[6] = 'Jul Picture'; pics[7] = 'Aug Picture'; pics[8] = 'Sep Picture'; pics[9] = 'Oct Picture'; pics[10] = 'Nov Picture'; pics[11] = 'Dec Picture';
if(location.href.match(/ion=calendar/)) { var opt = document.getElementsByTagName('option'); for(i=0; i<opt.length; i++) { if(opt.item(i).selected == '1' && opt.item(i).value.match(/month=(\d+)&/)) { var cal = parseInt(RegExp.$1, 10) - 1; document.getElementById('photoHolder').innerHTML += '<img src="'+ pics[cal] +'" />' break; } } } // --> </script>This will add a picture at the top of the calendar, a different one for each month. Just edit the image URLs
|
|