https://eye-syte.co.uk/wp-content/themes/corporate-plus/assets/js/corporate-plus-custom.js?ver=1.0.2
1jQuery(document).ready(function($){ 2 function homeFullScreen() { 3 4 var homeSection = $('#at-banner-slider'); 5 var windowHeight = $(window).outerHeight(); 6 7 if (homeSection.hasClass('home-fullscreen')) { 8 9 $('.home-fullscreen').css('height', windowHeight); 10 } 11 } 12 //make slider full width 13 // homeFullScreen(); 14 15 //window resize 16 $(window).resize(function () { 17 //homeFullScreen(); 18 }); 19 20 /*parallax scolling*/ 21 $(document).on('click', 'a[href^=\\#]', function (event) { 22 $('html, body').animate({ 23 scrollTop: $( $.attr(this, 'href') ).offset().top-$('#navbar').height() 24 }, 1000); 25 event.preventDefault(); 26 }); 27 28 /*bootstrap sroolpy*/ 29 $("body").scrollspy({target: ".navbar-fixed-top", offset: $('#navbar').height() + 70 } ); 30 31 $('.at-featured-text-slider').show().bxSlider({ 32 auto: true, 33 pager: false, 34 mode: 'fade', 35 prevText: '<i class="fa fa-angle-left fa-3x"></i>', 36 nextText: '<i class="fa fa-angle-right fa-3x"></i>', 37 onSliderLoad: function(currentIndex) { 38 $('.at-featured-text-slider').children().eq(currentIndex + 1).addClass('active'); 39 }, 40 onSlideAfter: function($slideElement){ 41 $('.at-featured-text-slider').children().removeClass('active'); 42 $slideElement.addClass('active'); 43 } 44 }); 45 46 /*image slider*/ 47 $('.image-slider-container').each(function(){ 48 var at_featured_img_slider = $(this); 49 at_featured_img_slider.show().bxSlider({ 50 auto: true, 51 pager: false, 52 mode: 'fade', 53 prevText: '<i class="fa fa-angle-left fa-3x"></i>', 54 nextText: '<i class="fa fa-angle-right fa-3x"></i>', 55 onSlideBefore: function($slideElement) { 56 $('.image-slider-wrapper .bx-controls').hide(); 57 }, 58 onSlideAfter: function($slideElement){ 59 $('.image-slider-wrapper .bx-controls').show(); 60 at_featured_img_slider.stopAuto(); 61 at_featured_img_slider.startAuto(); 62 } 63 }); 64 }); 65 66 /*parallax*/ 67 jQuery('.at-parallax,.inner-main-title').each(function() { 68 jQuery(this).parallax('center', 0.2, true); 69 }); 70 71 function stickyMenu() { 72 var scrollTop = $(window).scrollTop(); 73 var offset = 0; 74 75 if ( scrollTop > offset ) { 76 $('#navbar').addClass('navbar-small'); 77 $('.sm-up-container').show(); 78 $('.scroll-wrap').hide(); 79 } 80 else { 81 $('#navbar').removeClass('navbar-small'); 82 $('.sm-up-container').hide(); 83 $('.scroll-wrap').show(); 84 } 85 } 86 //What happen on window scroll 87 stickyMenu(); 88 $(window).on("scroll", function (e) { 89 setTimeout(function () { 90 stickyMenu(); 91 }, 300) 92 }); 93}); 94 95/*animation with wow*/ 96wow = new WOW({ 97 boxClass: 'init-animate', 98 animateClass: 'animated', // default 99 } 100); 101wow.init();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.