1/* Slider function*/ 2 3 4$(document).ready(function() { 5 $("#flexslider").flexisel({ 6 visibleItems: 6, 7 animationSpeed: 1000, 8 autoPlay: true, 9 autoPlaySpeed: 3000, 10 pauseOnHover: false, 11 enableResponsiveBreakpoints: true, 12 responsiveBreakpoints: { 13 portrait: { 14 changePoint:480, 15 visibleItems: 2 16 }, 17 landscape: { 18 changePoint:640, 19 visibleItems: 2 20 }, 21 tablet: { 22 changePoint:992, 23 visibleItems: 4 24 }, 25 tabland: { 26 changePoint:1199, 27 visibleItems: 5 28 } 29 } 30 }); 31}); 32 33/* Toggling the Arrow on Bootstrap */ 34/* mobile menu toggle effect */ 35$('.navbar-toggle').click(function() { 36 $('.navbar-toggle').toggleClass("nav-bg").toggleClass("pad"); 37 $('.navbar').toggleClass("nav-bg").toggleClass("pad"); 38}); 39 40 41 42/* input validation for non-jotform pages */ 43 44 function numbersonly(e, decimal) { 45 var key; 46 var keychar; 47 if (window.event) {key = window.event.keyCode;} 48 else if (e) {key = e.which;} 49 else {return true;} 50 keychar = String.fromCharCode(key); 51 if ((key==null) || (key==0) || (key==8) || (key==9) || (key==13) || (key==27) ) {return true;} 52 else if ((("0123456789").indexOf(keychar) > -1)) {return true;} 53 else if (decimal && (keychar == ".")) {return true;} 54 else return false; 55 } 56 57 /* place holder js for non-jotform*/ 58 59$('[placeholder]').focus(function() { 60 var input = $(this); 61 if (input.val() == input.attr('placeholder')) { 62 input.val(''); 63 input.removeClass('placeholder'); 64 } 65}).blur(function() { 66 var input = $(this); 67 if (input.val() == '' || input.val() == input.attr('placeholder')) { 68 input.addClass('placeholder'); 69 input.val(input.attr('placeholder')); 70 } 71}).blur(); 72 73if($('html').hasClass('is-cms')){ 74 $('.overlay').removeClass('overlay').addClass('overlay-cms'); 75 $('.grad-bg-inner').removeClass('grad-bg-inner'); 76} 77 78 79/* Equal Height */ 80function equalHeight(group) { 81 tallest = 0; 82 group.each(function() { 83 // thisHeight = $(this).height(); 84 thisHeight = $(this).css({'height':'auto'}).height(); 85 if(thisHeight > tallest) { 86 tallest = thisHeight; 87 88 } 89 }); 90 group.height(tallest); 91} 92$(window).on('load resize', function(){ 93equalHeight($(".tablet-view")); 94equalHeight($(".column-p")); 95 96//fix business written image sections 97var setTrades; 98var setRetail; 99var setManufacturing; 100if ($(window).width() < 768) { 101 setTrades = $("#trades .listsection").height() + 50; 102 setRetail = $("#retail .listsection").height() + 50; 103 setManufacturing = $("#manufacturing .listsection").height() + 50; 104 $("#trades .imgsection img").css("height", setTrades + "px"); 105 $("#retail .imgsection img").css("height", setRetail + "px"); 106 $("#manufacturing .imgsection img").css("height", setManufacturing + "px"); 107} 108 109 }); 110 111 $(document).ready(function() { 112 var holder = 'Your Zip Code'; 113 $('.zip').blur(function() { 114 if ($(this).val().length == 0) 115 $(this).val(holder).addClass('holder'); 116 }).focus(function() { 117 if ($(this).val() == holder) 118 $(this).val('').removeClass('holder'); 119 }).val(holder).addClass('holder'); 120 });
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.