1/* Zipcode Character Function */ 2function numbersonly(e, decimal) { 3 var key; 4 var keychar; 5 if (window.event) {key = window.event.keyCode;} 6 else if (e) {key = e.which;} 7 else {return true;} 8 keychar = String.fromCharCode(key); 9 if ((key==null) || (key==0) || (key==8) || (key==9) || (key==13) || (key==27) ) {return true;} 10 else if ((("0123456789").indexOf(keychar) > -1)) {return true;} 11 else if (decimal && (keychar == ".")) {return true;} 12 else return false; } 13 14/* Get Quote Function */ 15$(document).ready(function() { 16 $("#flexslider").flexisel({ 17 visibleItems: 6, 18 animationSpeed: 1000, 19 autoPlay: true, 20 autoPlaySpeed: 3000, 21 pauseOnHover: false, 22 enableResponsiveBreakpoints: true, 23 responsiveBreakpoints: { 24 portrait: { 25 changePoint:480, 26 visibleItems: 2 27 }, 28 landscape: { 29 changePoint:640, 30 visibleItems: 4 31 }, 32 tablet: { 33 changePoint:768, 34 visibleItems: 4 35 } 36 } 37 }); 38}); 39/* mobile menu toggle effect */ 40$('.navbar-toggle').click(function() { 41 $('.navbar-toggle').toggleClass("nav-bg").toggleClass("pad"); 42 $('.navbar').toggleClass("nav-bg").toggleClass("pad"); 43}); 44/* place holder function */ 45$(document).ready(function() { 46 var holder = 'Zip Code'; 47 $('.zip').blur(function(){ 48 if ($(this).val().length == 0) 49 $(this).val(holder).addClass('holder'); 50 }).focus(function(){ 51 if ($(this).val() == holder) 52 $(this).val('').removeClass('holder'); 53 }).val(holder).addClass('holder'); 54 }); 55 56 57// Equal LOB box Height 58(function($){ 59 function fixButtonHeights() { 60 var heights = new Array(); 61 $('.lob-row-content').each(function() { 62 $(this).css('min-height', '0'); 63 $(this).css('max-height', 'none'); 64 $(this).css('height', 'auto'); 65 heights.push($(this).height()); 66 }); 67 68 var max = Math.max.apply( Math, heights ); 69 $('.lob-row-content').each(function() { 70 $(this).css('height', max + 'px'); 71 }); 72 } 73 74 $(window).load(function() { 75 fixButtonHeights(); 76 $(window).resize(function() { 77 setTimeout(function() { 78 fixButtonHeights(); 79 }, 120); 80 }); 81 }); 82})(jQuery); 83// Equal LOB box Height 84(function($){ 85 function fixButtonHeights() { 86 var heights = new Array(); 87 $('.lob-row-title').each(function() { 88 $(this).css('min-height', '0'); 89 $(this).css('max-height', 'none'); 90 $(this).css('height', 'auto'); 91 heights.push($(this).height()); 92 }); 93 94 var max = Math.max.apply( Math, heights ); 95 $('.lob-row-title').each(function() { 96 $(this).css('height', max + 'px'); 97 }); 98 } 99 100 $(window).load(function() { 101 fixButtonHeights(); 102 $(window).resize(function() { 103 setTimeout(function() { 104 fixButtonHeights(); 105 }, 120); 106 }); 107 }); 108})(jQuery);
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.