0

我有一个 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/

4

1 回答 1

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

于 2014-01-30T16:31:30.813 回答