Gallery

QUOTE ENQUIRY

( * ) Required Fields
"); $("body").addClass("video_sticky"); }); }); $(window).on('click touchend', function(e) { if(!$(e.target).hasClass("video_popup") && !$(e.target).hasClass("video_close") && !$(e.target).hasClass("form_close") && $(e.target).parents(".video_box").length===0) { $("body").removeClass("video_sticky"); $(".video_container").fadeOut();$(".video_box").remove(); } }); $(".testmonial-sider").owlCarousel( { autoplay: false, autoplayTimeout: 3000, smartSpeed: 1500, loop: true, nav: true, dots: false, autoHeight:true, onInitialize: function (e) { //if ($(".hl-category-slider figure").length >= 3) { // this.settings.loop = 1; // this.settings.nav = 1; // $(".hl-category-slider").addClass("slide-true"); // } else { // this.settings.loop = !1; // this.settings.nav = !1; // } }, margin: 10, navText: ["", ""], responsiveClass: true, responsive: { 0: { items: 1 }, 480: { items: 1 }, 991: { items: 1 }, 1200: { items: 1 }, } }); /** Popup jQuery **/ $(document).ready(function () { $(".armodal_popup_main").mCustomScrollbar(); }); jQuery(".ui-state-disabled").click(function () { jQuery(".ui-datepicker").hide(); }); $(window).bind('resize load', function () { $('.armodal_popup_main').addClass('modal-popup'); //var get_width = $(window).width(); var get_window = $(window).height(); var get_height = get_window - 60; $(".modal-popup").css("max-height", get_height + 'px'); }); jQuery(".armodal-close").click(function () { jQuery(".armodal_box").fadeOut(700); jQuery("body").removeClass("sticky"); }); jQuery(".popup").click(function () { var a = jQuery(this).attr("id"); var m = jQuery(".armodal_box"); jQuery("." + a).fadeIn(700); jQuery("body").addClass("sticky"); }); /** Popup jQuery **/ jQuery('body').on('wpcf7mailsent', function(){ grecaptcha.reset(); setTimeout(function(){ jQuery('.wpcf7-mail-sent-ok').hide(600); jQuery("#book_form").find("input[type=text]").first().focus(); },5000); }); /*jQuery('a[href^="mailto"]').click(function() { gtag('event', 'click', {'event_category' : 'email'}); } ); jQuery('a[href^="tel"]').click(function() { gtag('event', 'click', {'event_category' : 'phone-number'}); } ); document.addEventListener('wpcf7mailsent', function (event) { //alert(event.detail.contactFormId); if ('183' == event.detail.contactFormId) { gtag('event', 'Submitted', {'event_category' : 'contact-form'}); } if ('887' == event.detail.contactFormId) { gtag('event', 'Submitted', {'event_category' : 'Quote Enquiry'}); } if ('5' == event.detail.contactFormId) { gtag('event', 'Submitted', {'event_category' : 'REQUEST A FREE QUOTE'}); } }, true);*/