简体   繁体   English

基金会轨道内容滑块

[英]Foundation orbit-content-slider

当您单击“轨道内容”滑块的内容时,它会转到下一张幻灯片,在我认为的js中有点叫“ self.next”,我想禁用它,有什么想法吗?

Here's what I've achieved till now: 到目前为止,这是我所取得的成就:

there's this line in the foundation.js file: container.on('click', '[data-orbit-slide]', self.link_bullet); 在foundation.js文件中有这行:container.on('click','[data-orbit-slide]',self.link_bullet);

I've commented it out and now I can safely put a tabbed div in the slides without auto sliding on click, but the indicator bullets does not work on click, they just show which slide is active right now as you could guessed by commenting out that line.... if there could be anything that I could achieve better functionality please do mention it, Y'ALL 我已经将其注释掉了,现在我可以安全地在幻灯片中放置一个选项卡式div,而不会在单击时自动滑动,但是指示器项目符号在单击时不起作用,它们只是显示当前正在激活的幻灯片,您可以通过注释掉来猜测那条线...。如果有什么我可以实现更好的功能的,请提及,是的

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM