Exercise Random Images
Before you begin, go File...Save As this Wordpad document
to your Exercise Folder on your harddrive. Save as Firstname.LastName.exrandomimages.htm.
Now, begin your work on your harddrive copy. Comment out each line or section of code using the /* (insert comments here) and */ symbols. See p. 14 for an example.
1. Create a script that gives the viewer a random images from an array of images. Use the same four images you used in Exercise SlideShow. They are pictured below. Change the table they appear in to one cell and make the four images appear randomly each time you reload the page. Not a real tough script if you've done the SlideShow script.The text has this complete code on pages 63 and 64.
Save this html document into the Exercises Extra Credit Folder on the server.
Do a File....Save As....Firstname.Lastname.exrandomimages.htm an extra copy of your completed document into
the Exercises Extra Credit folder on the server. Open up your exercise on the server in a browser to make sure it appears the way your want it.