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.

Adding Links to Cycling Banners

See it run: Adding Links to Cycling Banners

Script 4.14

This is the HTML needed for an ad banner.

Script 4.15

This JavaScript shows how you can turn cycling banners into real, clickable ad banners.