pea*_*o86 2 jquery slideshow carousel flexslider
我正在尝试使旋转木马类似于以下内容:-http : //flexslider.woothemes.com/carousel-min-max.html
基本上,我只希望它一次前进一两个项目,而不是每次幻灯片放映时都替换全部项目。
我一直在玩最小和最大范围,但是似乎给出了不可预测的结果,我不确定那正是我真正需要的:
$('#photos-ylnm').flexslider({
animation: "slide",
itemWidth: 100,
minItems: 10,
maxItems: 12,
slideshow: 1,
animationSpeed: 350,
slideshowSpeed: 1000
});
Run Code Online (Sandbox Code Playgroud)
谁能看到我在做什么错?使用FlexSlider可以实现吗?
没关系,我刚刚发现了该move属性:
$('#photos-ylnm').flexslider({
animation: "slide",
itemWidth: 100,
move: 1,
slideshow: 1,
animationSpeed: 350,
slideshowSpeed: 1000
});
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
5116 次 |
| 最近记录: |