$('.hero-slider').slick({
slidesToShow: 1,
slidesToScroll: 1,
arrows: true,
dots:false,
infinite: true
});
<link href="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/slick.css" rel="stylesheet"/>
<script src="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/slick.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js"></script>
<section class="info-banner">
<div class="hero-slider">
<div class="info-slider-content" style="background-image: url(images/);">
<div class="banner-content info-content">
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever </p>
</div>
</div>
<div class="info-slider-content" style="background-image: url(images/);">
<div class="banner-content info-content">
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever </p>
</div>
</div>
<div class="info-slider-content" style="background-image: url(images/);">
<div class="banner-content info-content">
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever </p>
</div>
</div>
</div>
</section>
我想懸停效果添加到我的光滑滑塊箭頭狀this。但是這裏所遵循的程序完全不同於滑塊箭頭,我發現定製它非常困難。我在任何形式加入一個和下一個箭頭狀
幫助將是巨大的!
請發表您的代碼的的jsfiddle演示。 –
請提供一些html和你的css代碼 – Gabbax0r
請閱讀 - [我的網站或項目中的某些內容不起作用。我可以只是粘貼一個鏈接?](http://meta.stackoverflow.com/questions/254428/something-in-my-web-site-or-project-doesnt-work-can-i-just-paste -a-link-to-it)尋求調試幫助的問題(「爲什麼這個代碼不工作?」)必須包含所需的行爲,特定的問題或錯誤以及在問題本身中重現**所需的最短代碼**。 – Pete