This code also supports optional titles or captions. Just create a text file named "titles.txt" in the same directory the holds the images for your slideshow. Then for each slide, you enter the file name, followed by a TAB, followed by the title text. This file must be a Unix-compatible text file - that is, a text file that uses a linefeed character (ASCII 10, 0x0Ah) as the line termination character. And be sure to use a backslash ("\") to escape any apostraphe's in your titles. There's a PHP utility program included called showMaker.php that will help you create your slideshows automatically, including setting the titles/captions.
If you are using multiple slideshows on a single page, you need to include a <script> tag calling the slideshow_init.php file for each show, and include the parameter 'showNum', as in:
Then, in the onLoad() function before the call to startShow(), you would add:
<a href="http://www.rainbodesign.com/pub/">Rainbo Design's Scripts & Tutorials for Webmasters</a>
This file was last modified on February 19, 2014