Displaying or changing images each day
A simple script that demonstrate how to dispay different images day by day on your website from suday to saturday, what you have to do is just copy this script [ Make Sure Of Quotes While Copying As I Always Say] So correct those and paste where you have to display the image on you website, very easy.
<script language=javascript>
/* Changing image or text each day(sunday to saturday)
Source: http://mistonline.in/
*/
<!–hide
getday=new Date();
day=getday.getDay();
var imagestotal = 7;
images = new Array(imagestotal+1);
images[0] = “<img src=’myimage.jpg’>”;
images[1] = “<img src=’myimage02.jpg’>”;
images[2] = “<img src=’myimage03.jpg’>”;
images[3] = “<img src=’myimage04.jpg’>”;
images[4] = “<img src=’myimage05.jpg’>”;
images[5] = “<img src=’myimage06.jpg’>”;
images[6] = “<img src=’myimage07.jpg’>”;
document.write(images[day]); //–>
</script>
Related posts:







