如何制作Jcoverflip循环?
我搜索并发现了与我的问题类似的问题,但是没有一个有我需要的具体解决方案。我目前的 Jcoverflip 没有滚动条或任何下一个/上一个按钮...我想要完成的是...悬停时,让图库滚动,当它到达末尾时它会循环而不是一直滚动向后。我目前是 javascript/Jquery 的新手,希望得到任何帮助。如果您有任何替代脚本,我愿意接受建议。
I searched and found questions similar to my question, however none has the specific solution I need. I currently have Jcoverflip without the scroll bar or any next/prev buttons... what I would like to accomplish is... on hover, have the gallery scroll and when it reaches to the end it loops instead of having scroll all the way backwards. I'm currently new to javascript/Jquery and would appreciate any help..also if you have any alternative scripts in mind, I am open to suggestions.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不认为 Jcoverflip 确实提供了开箱即用的此功能。我想到的一件事是尝试绑定到更改事件并将第一项添加到列表中,如下所示:
我没有尝试此代码,但它可能会根据 Jcoverflips 实现而起作用。
I do not think that Jcoverflip does provide this functionality out of the box. One thing, that came in my mind, was to try to bind to the change event and appending the first item to the list like this:
I did not try out this code, but it may work depending on Jcoverflips implementation.