开发者

jquery cycle plugin don't cycle on next

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!


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

Cycle Options

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜