最佳答案
从 javascript 中删除以下行并更改 col-md-6
if (next.next().length>0) {
next.next().children(':first-child').clone().appendTo($(this));
`enter code here`}
else {
$(this).siblings(':first').children(':first-child').clone().appendTo($(this));
}
它有效。在您的演示链接中测试
关于jquery - Twitter Bootstrap 3 Carousel - 一次显示 2 张图片而不是 3 张,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28916975/