Chapter 14: Applied JavaScript

Return to Chapter 14

 

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.

A Slideshow with Captions

See it run: A Slideshow with Captions

Script 14.7

This HTML creates the slide show.

Script 14.8

This is the external CSS called by Script 14.7.

Script 14.9

The slide show JavaScript displays the photo and caption.

Images:

slideImg0.jpg
slideImg1.jpg
slideImg2.jpg
slideImg3.jpg
slideImg4.jpg
slideImg5.jpg
slideImg6.jpg
slideImg7.jpg
slideImg8.jpg
slideImg9.jpg