1) Insert this script in the <HEAD> section of the page.
2) Insert the following code in the <BODY>
section, where you want the slideshow to appear in the page.
3) Define the path, the size and the
number of images to appear in the slideshow in this section of the script:
if(document.images) {
currentslide=1;
maxslides=6; // number of images in the slideshow
slide = new Array(maxslides+1);
for(var n=1;n<=maxslides;n++) {
slide[n]=new Image(500,245); // width, height
slide[n].src='images/'+n+'.gif'; // change to .jpg
if applicable
4) Define the first image to appear in the
slideshow and its size in this section of the HTML code: