为kwick以特定间隔制作幻灯片

时间:2014-01-30 16:22:27

标签: jquery html slider kwicks

我有一个kwick滑块。只有当我点击左箭头或右箭头时,图像才能移动。我可以像幻灯片那样以特定间隔进行更改吗?

<div class="flexslider">
          <ul class="slides">
        <li> <img src="https://fbcdn-profile-a.akamaihd.net/hprofile-ak-ash1/t5/203531_185817528257_850962705_q.jpg" alt="" > </li>
        <li> <img src="https://fbcdn-profile-a.akamaihd.net/hprofile-ak-ash1/t5/276179_100005675229344_1403962148_q.jpg" alt="" > </li>
        <li> <img src="http://devsmash.com/img/powered-by-nodejitsu.png" alt="" > </li>
        <li> <img src="https://fbcdn-photos-a-a.akamaihd.net/hphotos-ak-ash3/t1/1426584_613258465390797_1132303038_a.jpg" alt="" > </li>
        <li> <img src="https://fbcdn-creative-a.akamaihd.net/hads-ak-prn1/t45/s110x80/735332_6007868282382_1944105814_n.png" alt="" > </li>
      </ul>
     </div>

这是html。我设置了一个小提琴http://jsfiddle.net/cbB5P/

1 个答案:

答案 0 :(得分:0)

有各种各样的选择。检查文档或代码。试试这个:

http://jsfiddle.net/aamir/cbB5P/1/

$('.flexslider').flexslider({
       slideshow: true,
       slideshowSpeed: 2000,
       animationSpeed: 400
})

点击此处查看更多选项:https://github.com/woothemes/FlexSlider/blob/master/jquery.flexslider.js#L1047