1jQuery(document).ready(function($){ 2 3 $('body').on('click', '[data-nav-toggle]', function(e){ 4 e.preventDefault(); 5 $('#header nav').toggle(); 6 }); 7 8 if ( $('section.home-banner .home-banner-slide').length >= 1 ) { 9 var slider = tns({ 10 container: 'section.home-banner .slides', 11 mode: 'gallery', 12 items: 1, 13 slideBy: 'page', 14 autoplay: true, 15 autoplayButtonOutput: false, 16 nav: false, 17 mouseDrag: true, 18 stop: false, 19 controlsPosition: 'bottom', 20 controlsText: [ '<i class="fas fa-arrow-left"></i><span class="sr-only">Next</span>', '<i class="fas fa-arrow-right"></i><span class="sr-only">Previous</span>' ] 21 }); 22 } 23 24 if ( $('.testimionial-slider .slides').length >= 1 ) { 25 var testimionial_slider = tns({ 26 container: '.testimionial-slider .slides', 27 items: 1, 28 slideBy: 'page', 29 autoplay: true, 30 autoplayButtonOutput: false, 31 autoHeight: false, 32 nav: false, 33 mouseDrag: true, 34 stop: false, 35 controlsPosition: 'top', 36 controlsText: [ '<i class="fas fa-arrow-left"></i><span class="sr-only">Next</span>', '<i class="fas fa-arrow-right"></i><span class="sr-only">Previous</span>' ] 37 }); 38 } 39 40 // Smooth Scroll for Anchors 41 $('a[href*="#"]').not('[href="#"]').not('[href="#0"]').not('.collapse-btn').on('click', function(event) { 42 if (location.pathname.replace(/^\//, '') == this.pathname.replace(/^\//, '') && location.hostname == this.hostname) { 43 var target = $(this.hash); 44 target = target.length ? target : $('[name=' + this.hash.slice(1) + ']'); 45 if (target.length) { 46 event.preventDefault(); 47 $('html, body').animate({ 48 scrollTop: target.offset().top - 120 49 }, 1000, function() { 50 var $target = $(target); 51 $target.focus(); 52 if ($target.is(":focus")) { 53 return false; 54 } else { 55 $target.attr('tabindex','-1'); 56 $target.focus(); 57 }; 58 }); 59 } 60 } 61 }); 62 63 function explodeWidth() { 64 var browserWidth = $(document).width(); 65 var left = $('.entry-content').offset().left; 66 67 // var margin = ( ( browserWidth - wrapWidth ) / 2 ); 68 69 $('.align-wrap-full') 70 .css( 'margin-left', - left ) 71 // .css( 'margin-right', - margin ); 72 } 73 explodeWidth(); 74 $(window).resize(explodeWidth); 75 76});
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.