Day of Week
1. Introduction and Sample
Basic Help
More of this Feature
One way that you can have your web page to changed when a visitor returns a day or two later is to display a different image on your page depending on the day of the week. How do we do that? Well by using JavaScript to grab the day from your visitors computer and then selecting one of serveral images to display based on that day.
This JavaScript code uses seven images to represent the different days of the week. You can use whatever images you like, the only limitation is that all of the images will need to be the same size.
I have used simple images that contain just the name of the particular day. Here is what the script produces on this day of the week using my images.
To add this to your page you first need to create the images.


