Back to Scripts page
Click in the text area below, select all and copy to grab the script
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Image Slideshow</title> <script type="text/javascript" language="Javascript"> <!-- Hide script from old browsers myPix = new Array("images/pathfinder.gif","images/surveyor.gif","images/surveyor98.gif") thisPic = 0 imgCt = myPix.length - 1 function processPrevious() { if (document.images && thisPic > 0) { thisPic-- document.myPicture.src=myPix[thisPic] } } function processNext() { if (document.images && thisPic < imgCt) { thisPic++ document.myPicture.src=myPix[thisPic] } } // End hiding script from old browsers --> </script> </head> <body bgcolor="#FFFFFF"> <h1 align="center">US Missions to Mars</h1> <p align="center"><img src="images/pathfinder.gif" name="myPicture" width="201" height="155" alt="Slideshow" /></p> <h1 align="center"><a href="javascript:processPrevious()"><< Previous</a> <a href="javascript:processNext()">Next >></a></h1> </body> </html>
Images:
(Some scripts do not have associated images)