开发者

Stopping the jquery cycle plugin

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
 });
});


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

I think this will answer your question. There are a lot of nice examples like this one on the API site of the cycle plugin.

They say: nowrap: 1

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜