xSlideShow is a simple slideshow object.
This demo doesn't use the X library now, but eventually may. It is still a Javascript-only application.
Previous | Auto | Next
ss = new xSlideShow(uInterval, sImgEleId, sImagePath, aFiles, aLinks, aTitles); uInterval - The time in milliseconds for auto-slide. sImgEleId - The IMG element in the HTML. sImagePath - The path to be prepended to each image file name. It must have a trailing backslash. aFiles - An array of image file names. aLinks - An optional array of URLs for when the image is clicked. aTitles - An optional array of titles for each image. If provided, aLinks and aTitles must have the same length as aFiles.