malsup / cycle2

2nd gen cycling
899 stars 238 forks source link

How to go back to first image after ending the loop automatically #727

Closed doubledigit closed 8 years ago

doubledigit commented 8 years ago

Hi Mike, Thanks for sharing your cycle2 plugin.

I have a loop of images. Just cycling once and then it stops at the last. How can I make it return to the first slide automatically, without using 'allow-wrap'. Their should be an easy way to do that, but I couldn't find it.

I don't understand javascript, but if you could explain what to do and where to put that script, I do appreciate that. Thank you for your help. Felix

makbeta commented 8 years ago

Felix did you try setting data-cycle-loop="1" in your slideshow settings? That should do the trick.

doubledigit commented 8 years ago

Hello makbeta,

Yes, I had this already done, but I had changed some other settings as well, and had to reverse that.. Thanks for the reply, now this is solved.

Felix