Previous Example-|-Next Example-|-Return to Chapter Listing

Example 14.16 (First Page):
Stopping a Slide Show

This is the first page in a "slide show."

Just wait a few seconds, and you'll automatically move to the next file in sequence. Then the next, and then back to this one. (And around again). To stop the movement, click on the following button:

Click here to go to the next page in the slide show:


This is the script we used: <SCRIPT LANGUAGE="JAVASCRIPT"> <!-- function LetsMove() { location='14-16a.htm' } //--> </SCRIPT> </HEAD> <BODY onload="move=setTimeout('LetsMove()', 5000)"> Here are the buttons: <FORM> <INPUT TYPE="BUTTON" VALUE="Stop Movement" onclick="clearTimeout(move)"><P> Click here to go to the next page in the slide show:<P> <INPUT TYPE="BUTTON" VALUE="Next Page" onclick="window.location='14-16A.htm'"><P> </FORM>
Previous Example-|-Next Example-|-Return to Chapter Listing