Image of the Day
Keep your content fresh by automatically displaying a specific image based on the current day of the week.
Today is:
Copy the Script
<script>
var today = new Date();
var day = today.getDay(); // 0 = Sunday, 1 = Monday, etc.
var images = [
"sunday.jpg",
"monday.jpg",
"tuesday.jpg",
"wednesday.jpg",
"thursday.jpg",
"friday.jpg",
"saturday.jpg"
];
document.write('<img src="' + images[day] + '" alt="Image of the Day">');
</script>