1/* Equal Height */ 2function equalHeight(group) { 3 tallest = 0; 4 group.each(function() { 5 thisHeight = $(this).height(); 6 if(thisHeight > tallest) { 7 tallest = thisHeight; 8 } 9 }); 10 group.height(tallest); 11} 12$(window).load(function() { 13 equalHeight($(".column")); 14}); 15 16/* numeric enter value on zip field */ 17function numbersonly(e, decimal) { 18 var key; 19 var keychar; 20 if (window.event) {key = window.event.keyCode;} 21 else if (e) {key = e.which;} 22 else {return true;} 23 keychar = String.fromCharCode(key); 24 if ((key==null) || (key==0) || (key==8) || (key==9) || (key==13) || (key==27) ) {return true;} 25 else if ((("0123456789").indexOf(keychar) > -1)) {return true;} 26 else if (decimal && (keychar == ".")) {return true;} 27 else return false; } 28 29/* Quote Function */ 30function GetQuotes() { 31 var typeOfInsurance = jQuery("#Type").val(); 32 var zipCode = jQuery("#ZipCode").val(); 33 if(zipCode.length==5) 34 window.open('./get-insurance-quotes.html?z=' + zipCode + '&t=' + typeOfInsurance, '_self'); 35 else 36 alert("Please enter 5 digit valid zip code"); 37} 38/* place holder function */ 39$(document).ready(function() { 40 var holder = 'Zip Code'; 41 $('.zip').blur(function(){ 42 if ($(this).val().length == 0) 43 $(this).val(holder).addClass('holder'); 44 }).focus(function(){ 45 if ($(this).val() == holder) 46 $(this).val('').removeClass('holder'); 47 }).val(holder).addClass('holder'); 48 }); 49/* panel collapse based on window width */ 50$(document).ready(function(){ 51 var windowWidth = $(window).width(); 52 if(windowWidth <= 767) 53 $('.panel-collapse').removeClass('in') 54});
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.