New Fashion 2016
The New of Man
Collection
SHOP NOW
Shopping with us
ENJOY WITH 25% OFF
SHOP NOW
Welcome tothe
allure. fashion brands
www.leetheme.com
SHOP NOW
';
$(owl).parent().append(loading);
}
$(window).load(function(){
owl.owlCarousel({
loop: true,
nav: false,
dots: true,
autoplay: true,
autoplaySpeed: 1000, // Speed when auto play
autoplayTimeout: 5000, //Delay for next slide
autoplayHoverPause : true,
navText: ["",""],
navSpeed: 1000, //Speed when click to navigation arrow
dotsSpeed: 1000,
responsiveClass:true,
callbacks: true,
responsive:{
0:{
items: 1,
nav:false
},
600:{
items: 1,
nav:false
},
1000:{
items: 1 }
}
});
owl.find('.owl-item').each(function(){
var _this = $(this);
if($(_this).find('.banner .banner-inner').length){
var _banner = $(_this).find('.banner .banner-inner');
$(_banner).removeAttr('class').removeAttr('style').css({'opacity': 0}).addClass('banner-inner');
if($(_this).hasClass('active')){
var animation = $(_banner).attr('data-animation');
setTimeout(function(){
$(_banner).show();
$(_banner).addClass('animated').addClass(animation).css({'opacity': 1});
}, 200);
}
}
});
owl.on('translated.owl.carousel', function(items) {
var warp = items.target;
if($(warp).find('.owl-item').length){
$(warp).find('.owl-item').each(function(){
var _this = $(this);
if($(_this).find('.banner .banner-inner').length){
var _banner = $(_this).find('.banner .banner-inner');
var animation = $(_banner).attr('data-animation');
$(_banner).removeClass('animated').removeClass(animation).removeAttr('style').css({'opacity': 0});
if($(_this).hasClass('active')){
setTimeout(function(){
$(_banner).show();
$(_banner).addClass('animated').addClass(animation).css({'opacity': 1});
}, 200);
}
}
});
}
});
$(owl).parent().find('.lt-carousel-loadding').remove();
});
})(jQuery);