Setting SS Caption Text
The original "Controlled" slideshow used hard-coded captions defined in containers within the mySlide class. This page will investigate setting these programatically.
In fact the original is possibly a more elegant solution as it does not use the W3C.css framework for the animation. The opacity and timing can be changed. This is not to say that this could not be done using the framework but is allows customisation of indivudual sliswshows.
1 / 5
Analysis
Again, looking more closely at code that I had working and thought that I understood I find thatI didn't!
The captions on the original slideshow were coded in a "compound" container (an array of objects called mySlides), the slide number and caption are sub-classes "numbertext" and "text".
This page now has an array of images that can be added to at will and the slide being displayed will update itself when the slideshow runs. The actual caption is contained in a div inside the slide div. I gave up trying to exptract the alt text from the img element. Although I think that this os possible it does not help for this page.