I realize that the plugin is called CYCLE because it cycles throgh the element of the list. But what I like most about it is its flexibility, so I was wondering if there is any way to make the plugin not cycle. So if you try to go to the previous slide when on the first one, or to the next slide when on the last one, it just stops.

我意识到这个插件被称为循环,因为它循环播放列表元素。但我最喜欢的是它的灵活性,所以我想知道是否有办法让插件不循环。如果你试着在第一张幻灯片上看前一张,或者在最后一张幻灯片上看下一张,它就会停止。

I've been reading through the options and the code but cant find the solution

我一直在通读选项和代码,但找不到解决方案

2 个解决方案

#1


9

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

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

Check out the nowrap property. (See http://jquery.malsup.com/cycle/nowrap2.html) Set it to nowrap: 1 and your show will stop after each slide has been played 1 time. This is clearly the option you'd need.

看看nowrap属性。(参见http://jquery.malsup.com/cycle/nowrap2.html)设置为nowrap: 1,当每张幻灯片播放1次后,你的表演就会停止。这显然是你需要的选择。

更多相关文章

  1. JQuery仿最新淘宝网首页带箭头幻灯片,JQuery轮播图
  2. flah网站发布问题,我是在flash里面直接发布成html格式,如何提示安
  3. 纯JS幻灯片菜单,能够“点击菜单外点击”
  4. 是否可以直接使用jquery和Svg(没有插件)?
  5. winform内嵌html,通过Flot插件实现图表显示
  6. Emmet插件快速编写html小技巧
  7. 在页面重新加载时添加活动链接和jquery幻灯片切换到自定义ajax w
  8. html提示框插件
  9. Wordpress主题调试:插件侧边栏导致原始侧边栏不显示

随机推荐

  1. 我用的mysqlcc,我想看别人执行过哪些语句
  2. 今天看了一整天的汇编语言,真发现语言这东
  3. navicat+for+mysql破解版
  4. MySQL Packets larger than max_allowed_
  5. 如果在两个模式中存在具有相似名称的删除
  6. 如何利用SQL语句查询数据库中所有表的名
  7. 无法从SQLite数据库获取最后一行
  8. java eclipse连接并且操作mysql数据库详
  9. 是否遇到过MySQL workbench text字段不能
  10. MySQL 5.7中的未知列