我有我的HTML代码中的问题滑块,问题是,我想如果它叫什么,在我的情况我有9个项目我想只显示可能的5,创建一个项目滑块他们当有人点击矩形就会向左滑动,并让他在3个离开品牌,但每次我试图做的,没有什么发生,更多的解释,请查看我的代码:项目不工作
<div id="tf-clients" class="text-center">
<div class="overlay">
<div class="container">
<div class="section-title center">
<h2>Some of <strong>our Clients</strong></h2>
<div class="line">
<hr>
</div>
</div>
<div id="clients" class="owl-carousel owl-theme" style="opacity: 1; display: block;">
<div class="owl-wrapper-outer autoHeight" style="height: 121px;"><div class="owl-wrapper" style="width: 3192px; left: 0px; display: block;"><div class="owl-item" style="width: 228px;"><div class="item">
<img src="img/client/01.png">
</div></div><div class="owl-item" style="width: 228px;"><div class="item">
<img src="img/client/02.png">
</div></div><div class="owl-item" style="width: 228px;"><div class="item">
<img src="img/client/03.png">
</div></div><div class="owl-item" style="width: 228px;"><div class="item">
<img src="img/client/04.png">
</div></div><div class="owl-item" style="width: 228px;"><div class="item">
<img src="img/client/05.png">
</div></div><div class="owl-item" style="width: 228px;"><div class="item">
<img src="img/client/06.png">
</div></div><div class="owl-item" style="width: 228px;"><div class="item">
<img src="img/client/07.png">
</div></div></div></div>
<div class="owl-controls clickable"><div class="owl-pagination"><div class="owl-page active"><span class=""></span></div><div class="owl-page"><span class=""></span></div></div></div></div>
</div>
</div>
</div>
为u可以看到这是我的代码,它有9个图像,我已经创建了一个span标签,所以创建一个矩形,所以当我点击span时,它会向左滑动它们显示其他隐藏图像,但它似乎不工作我做错了事,请给我一只手,它会感谢提前感谢。
什么库你在为图书馆使用吗? ÿ? –
我不知道你的意思是什么,但我只是遵循了一个使用相同事物的模板,而我正在处理它,但它似乎不工作https://w3layouts.com/preview/?l=/spirit -8-公司 - 多用途平的自举响应,网页模板/这是模板我们的一些客户是我有只橙色矩形不fonctioning以感谢改用其他品牌 –
我不相同的结果理解这个问题,不好意思..看起来像是自我推销。确保JS文件包含以及'jQuery.js' – SuperVeetz