1. Home
  2. Computing & Technology
  3. JavaScript

Day of Week

2. Create the Images

clr gif
Join the Discussion

Questions? Comments?

Below are the seven images that I used with the example of this script. You will probably want to create your own but you can use mine if you want. Whichever way you go you need to make sure that you save the images with the appropriate filenames that appear under the images to match with the days of the week on which they are to display.

If the images you use are not 200 pixels wide and 80 pixels high then you will need to adjust the width and height within the script itself to the size you are using. All seven images must be the same size.

sunday
sunday.gif

monday
monday.gif

tuesday
tuesday.gif

wednesday
wednesday.gif

thurdsday
thursday.gif

friday
friday.gif

saturday
saturday.gif

The next step is to obtain the script.

1 | 2 | 3 | 4
Explore JavaScript
About.com Special Features

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. JavaScript

©2009 About.com, a part of The New York Times Company.

All rights reserved.