Php JsCarousel滑块问题
我使用jsCarousel滑块在水平方向显示缩略图。我有8个拇指图像,我想在加载页面时显示5个拇指图像。当我单击下一个图标时,滑块将逐个滚动图像,而不是显示下一组所有图像Php JsCarousel滑块问题,php,jquery,slider,Php,Jquery,Slider,我使用jsCarousel滑块在水平方向显示缩略图。我有8个拇指图像,我想在加载页面时显示5个拇指图像。当我单击下一个图标时,滑块将逐个滚动图像,而不是显示下一组所有图像 $(document).ready(function(){ $('#carouselv').jsCarousel({ onthumbnailclick:function(src){}, autoscroll:true, circular:true,
$(document).ready(function(){
$('#carouselv').jsCarousel({
onthumbnailclick:function(src){},
autoscroll:true,
circular:true,
masked:false,
itemstodisplay:5,
orientation:'h'
});
});
提前感谢。您可以使用滚动选项滚动图像的数量,如
$(document).ready(function(){
$('#carouselv').jsCarousel({
onthumbnailclick:function(src){},
autoscroll:true,
circular:true,
masked:false,
itemstodisplay:5,
orientation:'h',
scroll:1
});
});
谢谢你的快速回复。很抱歉,你的解决方案行不通。滚动选项仅适用于jcarousel。但我使用的是jsCarousel。所以它不会起作用。