Deprecated: Required parameter $field follows optional parameter $post_id in /home1/a9degof9/public_html/9degree/wp-content/plugins/advanced-custom-fields-pro/includes/acf-value-functions.php on line 54

Deprecated: Required parameter $field follows optional parameter $value in /home1/a9degof9/public_html/9degree/wp-content/plugins/advanced-custom-fields-pro/includes/acf-value-functions.php on line 166

Deprecated: Required parameter $value follows optional parameter $key in /home1/a9degof9/public_html/9degree/wp-content/plugins/advanced-custom-fields-pro/includes/ajax/class-acf-ajax.php on line 76

Warning: Cannot modify header information - headers already sent by (output started at /home1/a9degof9/public_html/9degree/wp-content/plugins/advanced-custom-fields-pro/includes/acf-value-functions.php:54) in /home1/a9degof9/public_html/9degree/wp-content/plugins/wp-fastest-cache/wpFastestCache.php on line 299
(function($){ 'use strict'; var mobileDevice=false; if(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)){ $('html').addClass('mobile'); mobileDevice=true; }else{ $('html').addClass('no-mobile'); mobileDevice=false; } $(window).load(function(){ $('.loader').fadeOut(300); }); var wow=new WOW({ offset: 150, mobile: false } ); wow.init(); var navbarDesctop=$('.navbar-desctop'); var navbarMobile=$('.navbar-mobile'); var navbarDesctopHeight=61 var navbarMobileHeight=49 navbarDesctop.affix({ offset: { top: 120 }}); navbarDesctop.on('affix.bs.affix', function(){ if(!navbarDesctop.hasClass('affix')){ navbarDesctop.addClass('animated slideInDown'); }}); navbarDesctop.on('affix-top.bs.affix', function(){ navbarDesctop.removeClass('animated slideInDown'); $('.navbar-collapse').collapse('hide'); }); navbarMobile.affix({ offset: { top: 1 }}); navbarMobile.on('affix.bs.affix', function(){ if(!navbarMobile.hasClass('affix')){ navbarMobile.addClass('animated slideInDown'); }}); navbarMobile.on('affixed-top.bs.affix', function(){ navbarMobile.removeClass('animated slideInDown'); }); $('.navbar-collapse').on('show.bs.collapse', function (){ navbarMobile.addClass('affix'); }); $('.navbar-collapse').on('hidden.bs.collapse', function (){ if(navbarMobile.hasClass('affix-top')){ navbarMobile.removeClass('affix'); }}); navbarMobile.on('affixed-top.bs.affix', function(){ if($('.navbar-collapse').hasClass('in')){ navbarMobile.addClass('affix'); }}); $('body').scrollspy({ offset: navbarDesctopHeight }); $('.js-target-scroll, .navbar-desctop-menu li a').on('click', function(){ var target=$(this.hash); if(target.length){ $('html,body').animate({ scrollTop: (target.offset().top - navbarDesctopHeight + 1) }, 1000); return false; }}); $('.navbar-nav-mobile li a').on('click', function(){ $(".navbar-collapse").collapse('hide'); var target=$(this.hash); if(target.length){ $('html,body').animate({ scrollTop: (target.offset().top - navbarMobileHeight + 1) }, 1000); return false; }}); if(typeof $.fn.revolution!=='undefined'){ $("#rev_slider").revolution({ sliderType:"standard", sliderLayout:"fullscreen", dottedOverlay:"none", delay:7000, navigation: { keyboardNavigation:"off", keyboard_direction: "horizontal", onHoverStop:"off", touch:{ touchenabled:"on", swipe_threshold: 75, swipe_min_touches: 1, swipe_direction: "horizontal", drag_block_vertical: false }}, viewPort: { enable:true, outof:"pause", visible_area:"80%" }, responsiveLevels:[2048,1750,1192], gridwidth:[1180,1180,980], gridheight:[550], lazyType:"none", shadow:0, spinner:"off", stopLoop:"on", stopAfterLoops:0, shuffle:"off", autoHeight:"on", fullScreenAlignForce:"off", fullScreenOffsetContainer: "", fullScreenOffset: "", disableProgressBar:"on", hideThumbsOnMobile:"off", hideSliderAtLimit:0, hideCaptionAtLimit:0, hideAllCaptionAtLilmit:0, debugMode:false, fallbacks: { simplifyAll:"off", nextSlideOnWindowFocus:"off", disableFocusListener:false, }}); } $('.arrow-left').on('click', function(){ $("#rev_slider").revprev(); }); $('.arrow-right').on('click', function(){ $("#rev_slider").revnext(); }); $('.slide-number .total-count').text($('#rev_slider li').size()); $('#rev_slider').bind("revolution.slide.onchange",function (e,data){ $('.slide-number .count').text(data.slideIndex); }); $('.object-label').on('click', function(){ $('.object-label').not(this).find($('.object-info')).fadeOut(200); $(this).find('.object-info').fadeToggle(200); }); $(window).stellar({ responsive: true, horizontalScrolling: false, hideDistantElements: false, horizontalOffset: 0, verticalOffset: 0, }); $(".js-projects-carousel").owlCarousel({ itemsMobile:[479,1], itemsTablet:[768,2], itemsDesktopSmall:[979,2], itemsDesktop:[1250,3], items:5, pagination:false, navigation:true, slideSpeed:700, responsiveRefreshRate:0 }); $('.js-projects-gallery').each(function(){ $(this).magnificPopup({ delegate: 'a', type: 'image', removalDelay: 300, tLoading: 'Loading image #%curr%...', gallery: { enabled: true, navigateByImgClick: true, preload:[0,1] }, image: { tError: 'The image #%curr% could not be loaded.', titleSrc: function(item){ return item.el.attr('title') + ''; }} }); }); if($('.js-ajax-form').length){ $('.js-ajax-form').each(function(){ $(this).validate({ errorClass: 'error wobble-error', submitHandler: function(form){ $.ajax({ type: "POST", url:"mail.php", data: $(form).serialize(), success: function(){ $('.col-message, .success-message').show(); }, error: function(){ $('.col-message, .error-message').show(); }}); }}); }); }})(jQuery);