PDA

View Full Version : step carousel stop autostep on last slide



mssbee
09-07-2009, 07:07 PM
1) Script Title: step carousel viewer
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/stepcarousel.htm

3) Describe problem: I have a series of photos and am using autostep to show them. I would like to the slide show to stop on the last photo. I have wraparound as false. The show will stop at the last photo if I disable autostep and use the buttons to move the slides. The viewer is part of a wordpress theme template so all the calls are done through php and functions.

Thanks

ddadmin
09-08-2009, 09:03 AM
To stop the slideshow at the last panel in autostep mode, try finding the below line in the .js file, and add to it the part in red:


if (config.currentpanel!=config.$panels.length-1)
config.steptimer=setTimeout(function(){stepcarousel.autorotate(galleryid)}, config.autostep.pause)

mssbee
09-08-2009, 02:32 PM
Thanks it worked perfectly. I really appreciate your help.