1. Computing & Technology

Cycling Banner

3. Add to Your Page

clr gif
More of this Feature

Introduction Obtain the Script

All that remains to be done now is to add the images into your web page.

The image tag that you add to the page is coded to display the first image in the cycle as if it were the only image you are going to display. The only change that you need to make is to add an id to the image so that the script knows which image to update.

Here is the code for my sample image:

<p align="center"><img src="graphics/pic1a.gif" width="150" height="150" border="0" alt="Cycling banner images" id="rollimg" /></p>
Sample Page | Obtain the Script | Add to Your Page

©2012 About.com. All rights reserved.

A part of The New York Times Company.