Chapter 4: Working with Images

Return to Chapter 4


To use this script on your own page, click in the text area below, select all, and copy to grab the script. Then, just paste into your own page — and you're done.

Cycling Images with a Random Start

See it run: Cycling Images with a Random Start

Script 4.20

This HTML file contains a spacer GIF file, which is a placeholder until the ad banner appears.

Script 4.21

This JavaScript allows you to start your cycling image show with a random image.