1

I'm using the cycle plugin for an image slider with two links (next and prev) to cycle through them and so far it works just fine, I was wondering it it was possible to make it so when you hit the last image it doesn't cycle back to the first image, in this case I just want it to do nothing, I've been looking at the options but I can't find if there's any that let's you toggle this functionality.

Thanks in advance!

Javier Villanueva
  • 3,886
  • 13
  • 48
  • 80

1 Answers1

2

There is a configuration option called nowrap. All you need to do is set nowrap: true in your configuration options.

Cycle Options

Bryan Downing
  • 15,194
  • 3
  • 39
  • 60