Make your own free website on Tripod.com

<html><head><title>Slide Show Script</title>
<script language="JavaScript">
<!--Hide--
/* Slide Show script by
Matt Lintz freabeer@webtv.net
a link would be appreciated
members.tripod.com/~grizzlyA
but not needed. and comments may be removed */
var display=new Array;
// addresses of images
display[1]="background/bk22.jpg";
display[2]="background/bk25.gif";
display[3]="background/bk4.gif";
display[4]="background/bk5.jpg";
display[5]="background/bk54.jpg";
display[6]="background/bk7.jpg";
display[7]="background/bk8.gif";
display[8]="background/bkhex1.jpg";
display[9]="background/bkhex2.jpg";
display[10]="background/bkhex3.jpg";
display[11]="background/bkhex4.jpg";
display[12]="background/bkhex5.gif";
display[13]="background/bkred.gif";
display[14]="background/candy.jpg";
display[15]="background/fant2.gif";
// set maxnum to number of images
var maxnum = 15;
var select = 1;
function Show(){
document.imgDisplay.src=display[select];
select++;
if (select>maxnum){select=1;}
/* set number for pause time
in hundredths of seconds
*/
setTimeout('Show()' , 1000);
}
//--end hide-->
</script>
</head>
<body onLoad="Show()" bgcolor="#000000"text="#FFFFFF" link="#FF66FF" vlink="#FFCCFF">
<!--The onLoad causes the slide show to start as soon as the page is loaded. You could remove this and have the show started by a button -->
<center>
<!-- Set width and height to whatever you wish. All images will be shown this size. If you change the img name you will have to change it up in the script also -->
<img name="imgDisplay" width=75 height = 75 border=5>
</center>

If you take this to my labratory or take a copy to your site without changing the image address's it will not work because I've used the short version of the address's(no http://members.tripod.com/~grizzlya/ before the rest)
Back to Library