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.
我对 Flexslider jQuery 插件 1.8 版有疑问。如何手动转到幻灯片?我搜索并找到了一个代码,但它不能正常工作。
$('.flexslider').slider.flexAnimate(2, true);
我收到“$(".flexslider").flexAnimate 不是函数”错误
您可以像这样转到第三张幻灯片:
var slider = $('#your-slider').data('flexslider'); slider.flexAnimate(2);
也是这样:
$('#your-slider').flexslider(2);