0

I am using the cycle jquery plugin. I have a few images that fade in and out and would like it to stop on the last image at the end of the cycle. Does anyone know a good way to do this? Thanks!

<script type="text/javascript"> 
$(document).ready(function() {
 $('.slideshow').cycle({
  fx: 'fade',
  timeout: 1000,
  speed:  500
 });
});
4

1 回答 1

4

http://jquery.malsup.com/cycle/nowrap2.html

我想这会回答你的问题。在循环插件的 API 站点上有很多像这样的好例子。

他们说:nowrap: 1

于 2011-01-27T21:44:07.180 回答