javascript - 如何使这个轮播连续?

标签 javascript jquery

有人知道如何使这个轮播连续吗?这是来源http://www.ajaxdaddy.com/demo-jquery-carousel.html

jQuery('#mycarousel').jcarousel({ 垂直:真实, 尺寸:6, 滚动:4 });

最佳答案

您应该阅读 jCarousel 文档。答案就在那里。

http://sorgalla.com/projects/jcarousel/

wrap - Specifies whether to wrap at the first/last item (or both) and jump back to the start/end. Options are "first", "last", "both" or "circular" as string. If set to null, wrapping is turned off (default).

jQuery('#mycarousel').jcarousel({ vertical: true, size: 6, scroll: 4, wrap: 'circular' });

...当文档中的答案正确时,我会发疯...

关于javascript - 如何使这个轮播连续?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8577445/

相关文章:

javascript - 如何在 div 中显示 AJAX 响应数据

javascript - 如何从 jQuery 代码中获取坐标值 (x,y) 并存储在 NSString 中?

javascript - 其余Api返回数据但未显示在页面上

javascript - Bootstrap - 一次仅在特定部分中显示一个折叠

javascript - 为什么空的 200 在 jQuery 中会导致失败?

javascript - 动态添加的表单字段不会发布到服务器

javascript - 单击按钮 d3.js 时如何在线删除工具提示

javascript - 两个模型的相同数据库表

javascript - 防止第二个事件触发 : click vs. URL 哈希更改

jquery - 使用此现有代码时如何在没有滚动条时显示 div