1 2 function 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// mobile navbar button 15 $('.navbar-toggle').click(function() { 16 $('.navbar-toggle').toggleClass("nav-bg").toggleClass("pad"); 17 $('.navbar').toggleClass("nav-bg").toggleClass("pad"); 18 19 $('body').toggleClass('pos-fix'); 20}); 21/* Zipcode place Holder Function */ 22 $(document).ready(function() { 23 var holder = 'Zip Code'; 24 $('.zip').blur(function() { 25 if ($(this).val().length == 0) 26 $(this).val(holder).addClass('holder'); 27 }).focus(function() { 28 if ($(this).val() == holder) 29 $(this).val('').removeClass('holder'); 30 }).val(holder).addClass('holder'); 31 }); 32/* equal height on index page */ 33function equalHeight(group) { 34 tallest = 0; 35 group.each(function() { 36 thisHeight = $(this).css({'height':'auto'}).height(); 37 if(thisHeight > tallest) { 38 tallest = thisHeight ; 39 if ($(this).find("p").length > 0) { 40 tallest=tallest+40; 41 } 42 } 43 group.height(tallest); 44 }); 45} 46 47/* banner container fit */ 48 49 50$(document).ready(function() { 51 $("#logoslider").flexisel({ 52 visibleItems: 6, 53 animationSpeed: 1000, 54 autoPlay: true, 55 autoPlaySpeed: 3000, 56 pauseOnHover: false, 57 enableResponsiveBreakpoints: true, 58 responsiveBreakpoints: { 59 portrait: { 60 changePoint:480, 61 visibleItems: 1 62 }, 63 landscape: { 64 changePoint:640, 65 visibleItems: 2 66 }, 67 tablet: { 68 changePoint:992, 69 visibleItems: 4 70 }, 71 tabland: { 72 changePoint:1199, 73 visibleItems: 5 74 } 75 } 76 }); 77});
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.