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.

Triggering Rollovers from a Link

See it run: Triggering Rollovers from a Link

Script 4.6

This is the HTML for this task.

Script 4.7

When the user points at a text link, this JavaScript makes the rollover happen.

Images:

arrow_on.gif
arrow_off.gif