javascript - Owl Carousel(2.2.1) - Button next and Previous dont work -
i have problem owl carousel doesnt work. normaly display @ website buttons next , previous dont work.
i not sure mistake. seems ok.
thank you.
<ul class="tab-list owl-carousel nav-style7 nav-center-center owl-theme owl-loaded"> <div class="owl-stage-outer"><div class="owl-stage" style="transform: translate3d(-1522px, 0px, 0px); transition: 0s; width: 4870.4px;"><div class="owl-item cloned" style="width: 304.4px; margin-right: 0px;"><li> <img src="#"> <a class="overlay" href="#" target="_blank"> <div class="wrapper"> <i class="fa fa-instagram"></i> <p>insta 2</p> </div> </a> </li></div><div class="owl-item cloned" style="width: 304.4px; margin-right: 0px;"><li> <img src="#"> <a class="overlay" href="#" target="_blank"> <div class="wrapper"> <i class="fa fa-instagram"></i> <p>insta 3</p> </div> </a> </li></div><div class="owl-item cloned" style="width: 304.4px; margin-right: 0px;"><li> <img src="#"> <a class="overlay" href="#" target="_blank"> <div class="wrapper"> <i class="fa fa-instagram"></i> <p>insta 4</p> </div> </a> </li></div><div class="owl-item cloned" style="width: 304.4px; margin-right: 0px;"><li> <img src="#"> <a class="overlay" href="#" target="_blank"> <div class="wrapper"> <i class="fa fa-instagram"></i> <p>insta 5</p> </div> </a> </li></div><div class="owl-item cloned" style="width: 304.4px; margin-right: 0px;"><li> <img src="#"> <a class="overlay" href="#" target="_blank"> <div class="wrapper"> <i class="fa fa-instagram"></i> <p>insta 6</p> </div> </a> </li></div><div class="owl-item active" style="width: 304.4px; margin-right: 0px;"><li> <img src="#"> <a class="overlay" href="#" target="_blank"> <div class="wrapper"> <i class="fa fa-instagram"></i> <p>insta 1</p> </div> </a> </li></div><div class="owl-item cloned" style="width: 304.4px; margin-right: 0px;"><li> <img src="#"> <a class="overlay" href="#" target="_blank"> <div class="wrapper"> <i class="fa fa-instagram"></i> <p>insta 5</p> </div> </a> </li></div></div></div><div class="owl-controls"><div class="owl-nav"><div class="owl-prev" style="">prev</div><div class="owl-next" style="">next</div></div><div class="owl-dots" style="display: none;"></div></div></ul>
and here javascript code use. not sure if use @ right way.
$(".owl-carousel").owlcarousel();
Comments
Post a Comment