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

Example 14.16 (Third Page):
Stopping a Slide Show

This is the third page in the "slide show."

Just wait a few seconds, and you'll automatically move to the next file in sequence. Then back to the first, and then back to this one, and round, and round. 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-16.htm' } //--> </SCRIPT> </HEAD> <BODY bgColor="green" 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-16.htm'"><P> </FORM>
Previous Example-|-Next Example-|-Return to Chapter Listing