What traq says is true, but those controls don't include stop and go.
That said, when I saw how robust this script (written by ddadmin) was, I was very impressed. There are, for lack of a better word, numerous 'hooks' that are available to do pretty much, if not all of what you are asking.
First of all, you understand that there can be numerous slide shows on a page and that each one (however many or only one) is defined by the variable used for each (from the demo page):
Code:
var mygallery=new fadeSlideShow({
wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow
dimensions: [250, 180], //width/hei . . .
So given that, you can have a stop or pause button (it really amounts to the same thing):
Code:
<input type="button" onclick="mygallery.navigate(mygallery.setting.imgindex);" value="Stop">
and a go/resume button:
Code:
<input type="button" onclick="var dm=mygallery.setting.displaymode;if(dm.type!=='auto'){dm.type='auto';mygallery.showslide('next');}" value="Go">
Each of these can be setup in various ways (to get the 'look and feel' you may want), the critical parts are the onclick events. If used with an anchor link (an <a> tag), they should return false, ex (for stop):
Code:
<a href="#" onclick="mygallery.navigate(mygallery.setting.imgindex); return false;">Link Text or Image Tag</a>
The 'return false' simply prevents the link's href from firing, which wouldn't be good in some cases.
I understand from your post that all of this is rather new for you. That's why I've tried to explain it in terms that would make sense to you, that you could make use of.
But if you have any questions, feel free to ask.
Bookmarks