jQuery("#carousel").owlCarousel({ autoplay: false, lazyLoad: true, loop: false, margin: 20, /* animateOut: 'fadeOut', animateIn: 'fadeIn', */ responsiveClass: true, autoHeight: true, autoplayTimeout: 7000, smartSpeed: 800, nav: true, responsive: { 0: { items: 1 }, 600: { items: 3 }, 1024: { items: 4 }, 1366: { items: 5 } } }); // jQuery(window).scroll(function(){ // var sticky = jQuery('.hotel_filter_fixed_top'), // scroll = jQuery(window).scrollTop(); // if (scroll >= 100) sticky.addClass('fixed'); // else sticky.removeClass('fixed'); // }); jQuery("#similarHotel").owlCarousel({ autoplay: true, lazyLoad: true, loop: false, margin: 20, /* animateOut: 'fadeOut', animateIn: 'fadeIn', */ responsiveClass: true, autoHeight: true, autoplayTimeout: 2000, smartSpeed: 800, nav: true, responsive: { 0: { items: 1 }, 600: { items: 2 }, 768: { items: 3 }, 1024: { items: 3 }, 1366: { items: 5 } } }); jQuery(".blogSimilarHotel").owlCarousel({ autoplay: true, lazyLoad: true, loop: false, margin: 20, autoplayHoverPause:true, responsiveClass: true, autoHeight: true, autoplayTimeout: 2000, smartSpeed: 800, nav: false, responsive: { 0: { items: 1 }, 600: { items: 2 }, 768: { items: 3 }, 1024: { items: 3 }, 1366: { items: 3 } } }); jQuery(".blogSimilarPackage").owlCarousel({ autoplay: true, lazyLoad: true, loop: false, margin: 20, autoplayHoverPause:true, responsiveClass: true, autoHeight: true, autoplayTimeout: 2000, smartSpeed: 800, nav: true, dots: false, responsive: { 0: { items: 1.3 }, 600: { items: 2 }, 768: { items: 4.3 }, 1024: { items: 4.3 }, 1366: { items: 4.3 } } }); jQuery("#carousel2").owlCarousel({ autoplay: true, autoplayHoverPause:true, autoplayTimeout : 2000, lazyLoad: true, loop: false, margin: 20, responsiveClass: true, autoHeight: true, smartSpeed: 800, nav: true, responsive: { 0: { items: 1 }, 600: { items: 3 }, 1024: { items: 4 }, 1366: { items: 5 } } }); jQuery("#carousel3").owlCarousel({ autoplay: false, lazyLoad: true, loop: false, margin: 20, responsiveClass: true, autoHeight: true, autoplayTimeout: 7000, smartSpeed: 800, nav: true, responsive: { 0: { items: 1 }, 600: { items: 3 }, 1024: { items: 4 }, 1366: { items: 5 } } }); jQuery("#owl_luxury_hotels").owlCarousel({ autoplay: true, lazyLoad: true, loop: true, margin: 10, /* animateOut: 'fadeOut', animateIn: 'fadeIn', */ responsiveClass: true, autoHeight: true, autoplayTimeout: 5000, autoplayHoverPause:true, smartSpeed: 800, nav: true, responsive: { 0: { items: 1 }, 600: { items: 2 }, 1024: { items: 2 }, 1366: { items: 2.2 } } }); jQuery("#carousel-popular_hotel").owlCarousel({ autoplay: false, lazyLoad: true, loop: false, margin: 20, /* animateOut: 'fadeOut', animateIn: 'fadeIn', */ responsiveClass: true, autoHeight: true, autoplayTimeout: 7000, smartSpeed: 800, nav: true, responsive: { 0: { items: 1 }, 600: { items: 1 }, 1024: { items: 2 }, 1366: { items: 2 } } }); jQuery("#carousel1").owlCarousel({ autoplay: true, lazyLoad: true, loop: false, margin: 20, responsiveClass: true, autoHeight: true, autoplayTimeout: 5000, autoplayHoverPause:true, smartSpeed: 800, nav: true, responsive: { 0: { items: 1 }, 600: { items: 3 }, 1024: { items: 5 }, 1366: { items: 5 } } }); jQuery("#packages").owlCarousel({ autoplay: true, lazyLoad: true, loop: false, margin: 20, responsiveClass: true, autoHeight: true, autoplayTimeout: 5000, autoplayHoverPause:true, smartSpeed: 800, nav: true, responsive: { 0: { items: 1 }, 600: { items: 3 }, 1024: { items: 5 }, 1366: { items: 5 } } }); jQuery("#hotel-detail-roomImage").owlCarousel({ autoplay: true, autoplayTimeout : 3000, lazyLoad: true, loop: false, margin: 20, /* animateOut: 'fadeOut', animateIn: 'fadeIn', */ responsiveClass: true, autoHeight: true, smartSpeed: 800, nav: true, responsive: { 0: { items: 1 }, 600: { items: 1 }, 1024: { items: 1 }, 1366: { items: 1 } } }); jQuery(".roomCarousel").owlCarousel({ autoplay: true, lazyLoad: true, loop: false, margin: 20, responsiveClass: true, autoHeight: true, autoplayTimeout: 2000, smartSpeed: 800, nav: true, responsive: { 0: { items: 1 }, 600: { items: 3 }, 1024: { items: 5 }, 1366: { items: 5 } } });