$('.testimonials').owlCarousel({
loop:true,
margin:10,
nav: true,
navText: ["",""],
responsiveClass:true,
responsive:{
0:{
items:1,
nav:true
},
600:{
items:1,
nav:true
},
1000:{
items:1,
nav:true,
}
}
});
$('.clients1').owlCarousel({
loop:true,
margin:10,
responsiveClass:true,
responsive:{
0:{
items:3,
},
600:{
items:4,
},
1000:{
items:6,
}
}
});
AOS.init({
easing: 'ease-out-back',
duration: 1000
});
jQuery(window).scroll(function() {
var scroll = jQuery(window).scrollTop();
//>=, not <=
if (scroll >= 120) {
jQuery(".mainHeader").addClass("fixed_header fadeInDown animated");
} else {
jQuery(".mainHeader").removeClass("fixed_header fadeInDown");
}
});
jQuery(document).ready(function(){
jQuery('.frm').focus(function(){
jQuery(this).prev().addClass('lablclr');
});
jQuery('.frm').blur(function(){
jQuery(this).prev().removeClass('lablclr');
});
// jQuery('.frm').keydown(function(){
// jQuery(this).prev().css('display' , 'none');
// });
// if (jQuery('.frm').is(':empty'))
// {
// jQuery(this).prev().css('display' , 'block');
//}
});
$(function() {
jQuery('.frm').keyup(function() {
if($(this).val().length) {
$(this).prev().hide();
} else {
$(this).prev().show();
}
});
$("label").click(function() {
$(this).next().focus();
});
});
$('#bootstrap-touch-slider').bsTouchSlider();