I'm having an issue with Owl carousel. I've included the necessary owl.carousel.css, owl.carousel.js, and owl.theme.css files. Created a div with the class "owl-carousel", and called the
function $(".owl-carousel").owlCarousel();
. However, after doing this, my div disappears without any errors showing up in the console...
Anybody encountered this before? (I'm using Chrome)
I'm following this demo:
<div class="owl-carousel">
<div class="item">
<img src="" class="img-responsive" alt=""/>
</div>
<div class="item">
<img src="" class="img-responsive" alt=""/>
</div>
Please disregard the empty src.... there are images inside...
Another issue has come up :
Uncaught TypeError: undefined is not a function?ckcachecontrol=1422871493:74 (anonymous function)jquery-1.11.2.min.js:2 m.Callbacks.jjquery-1.11.2.min.js:2 m.Callbacks.k.fireWithjquery-1.11.2.min.js:2 m.extend.readyjquery-1.11.2.min.js:2 J
$(document).ready(function() {
var carousel = $("#owl-demo");
carousel.owlCarousel({
items : 4,
itemsDesktop : [1199,3],
itemsDesktopSmall : [979,3]
});
});
It seems to be related to the function....