Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
仅当我单击特定链接或转到特定点幻灯片并停在那里时,如何才能使 Nivo 滑块启动。(点我的意思是幻灯片的数量(nivo-controlNav))
谢谢!
如果我没看错,这就是我的想法。
设置 Nivo 时,将manualAdvance属性设置为true. 这会将 Nivo 设置为仅在单击导航时进行转换。
manualAdvance
true
请参阅此处的文档
所以它会是这样的:
$('#slider').nivoSlider({ // Your settings here manualAdvance:true });