Multiple Slideshows with Captions
1. Introduction and Example
The slideshow script that the examples on this page use is significantly different from most of those scripts. The code for this script is somewhat longer than most of those other slideshow gallery scripts but this one can be used in any web page without any possibility of its clashing with another script in the page. The same script can even be used to display two or even more slideshows on the same web page using a single copy of the script.
The array is an array of objects rather than an array of images because this script not only displays the images but it displays a caption under each image as well. We'll look at a couple of different ways you can define the array when we look at how to add the script to your page.
Note that this script preloads the next image in the forward direction for each slideshow which hopefully will ensure that the images appear straight away as the next button is pressed without wasting time downloading all the images at the start just in case your visitors make the unthinkable decision not to view them all.
If you want to add image slideshows like this to your site then the first thing you need to do is to obtain the script.