I've worked out a way to have stop/start buttons in any mode. For Stop:
Code:
<input type="button" onclick="mygallery.navigate(mygallery.setting.imgindex);" value="Stop">
where mygallery is the name of the variable used to define the instance, ex (from the demo page):
Code:
var mygallery=new fadeSlideShow({
wrapperid: "fades . . .
For Start:
Code:
<input type="button" onclick="var dm=mygallery.setting.displaymode;if(dm.type!=='auto'){dm.type='auto';mygallery.showslide('next');}" value="Go">
As for next/previous, it is undocumented, but if you give your gallery definition a togglerid, you may supply it a toggler element as described for the manual slide show, even if its mode is set to auto. The next and the previous buttons will perform as with the manual show - the only caveat is that they will throw the show into manual (stopped) mode when activated. But if you have a Go (start) button, users can activate auto mode again if they so choose.
Bookmarks