Infinite animated.css in Owl Carousel

	jQuery(".all_slides").owlCarousel({
		singleItem: true,
		pagination: false,
		autoPlay: 5000,
		theme: "homepage-slider-arrows",
		navigation: true,
		addClassActive: true,
		transitionStyle : "fade",
		navigationText: ["<i class='fa fa-angle-left'></i>","<i class='fa fa-angle-right'></i>"],
		afterMove: previousslide,
		beforeMove: nextslide,
	});
	
	function previousslide() {
		jQuery(".owl-item.active .single_slider h2").addClass('animated bounce');
	}
	function nextslide() {
		 jQuery(".owl-item .single_slider h2").removeClass('animated bounce');
	}
The following two tabs change content below.

Leave a Reply

Your email address will not be published. Required fields are marked *