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>
Incoming search terms:
- demo for disable browser back button using javascript (1)
- how to display a different image each day html with hyperlink (1)
- jquery change background image each day (1)
- js led (1)
You will also be interested in ,
- Display Tags in wordpress
- C sharp INTERVIEW QUESTIONS
- Get Method and Array Manipulation In Symfony
- MD5 Function and Unique ID in php
- Javascript setTimeout() Tricks
- Simple Javascript Slideshow
- How to install XAMPP
- To Remove An Empty Element From An Array Using PHP
- .htaccess some facts and rules
- Javascript Clock
