dimanche 1 mars 2015

not work carousel in wordpress not work in theme

i use owl crasoul in wp theme but not load in home page and i use layer slider


jquery layer slider: 1.8.3 jquery carousel: 1.9.1


when delete jquery of every not load other !


why?


my code:



<script>
$(document).ready(function() {

var owl = $("#owl-demo");

owl.owlCarousel({

items : 10, //10 items above 1000px browser width
itemsDesktop : [1000,5], //5 items between 1000px and 901px
itemsDesktopSmall : [900,3], // 3 items betweem 900px and 601px
itemsTablet: [600,2], //2 items between 600 and 0;
itemsMobile : false // itemsMobile disabled - inherit from itemsTablet option

});

// Custom Navigation Events
$(".next").click(function(){
owl.trigger('owl.next');
})
$(".prev").click(function(){
owl.trigger('owl.prev');
})
$(".play").click(function(){
owl.trigger('owl.play',1000);
})
$(".stop").click(function(){
owl.trigger('owl.stop');
})


});
</script>

http://ift.tt/1E6B2oE

Aucun commentaire:

Enregistrer un commentaire