tags:

views:

51

answers:

4

Hi dear everyone,

I set up a slideshow for my webpage with the following script, but can't find it out how can I make it repeat. I mean I want when it go to the last photo, it will repeat to the first one again. Any one can help please:

open this link and view the code source please: http://www.xuanyinwen.com/test2.html

Many thanks Wayne

+2  A: 

you can either set the number of cycles in displaymode: {type:'auto', pause:2500, cycles:[here], wraparound:false}, you should also try changing persist: true as it will remember the last viewed slide and recall it.

Neo
A: 

Hi Neo, Thanks for your advice. I have tried both both no luck to make it work. for changing the number of cycles it only work for auto slideshow not the manual one. making the persist true can only make itremember the number of photo when you next open it again, but still can repeat when you on the last photo. Any other thing a can try? many thanks again! Wayne

xuanyinwen
+1  A: 

this isn't even working as you say it is. However if it was you could add following line manually to override anything: setting.playtimer=setTimeout(function(){slideshow.showslide('next')}, 2500)

Neo
A: 

HI Neo, could you have another look for my script again, its working now: http://www.xuanyinwen.com/test2.html

not sure what script should I overrided by your line: setting.playtimer=setTimeout(function(){slideshow.showslide('next')}, 2500)

thanks

xuanyinwen