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