1<!-- //Mobile Drop Down Menu 2 3$(document).ready(function(){ 4 $('#nav_menu').click(function(){ 5 $(this).toggleClass('open'); 6 document.getElementById("myDropdown").classList.toggle("show"); 7 }); 8}); 9 10 11 12 13$(document).ready(function(){ 14 15 $('myDropdown').css({'display':'block'}); 16 17}); 18 19 20 21//touch/tablet detection 22if ( 23 navigator.userAgent.match(/Tablet/i) || 24 navigator.userAgent.match(/iPad/i) || 25 navigator.userAgent.match(/Kindle/i) || 26 navigator.userAgent.match(/Playbook/i) || 27 navigator.userAgent.match(/Nexus/i) || 28 navigator.userAgent.match(/Xoom/i) || 29 navigator.userAgent.match(/SM-N900T/i) || //Samsung Note 3 30 navigator.userAgent.match(/GT-N7100/i) || //Samsung Note 2 31 navigator.userAgent.match(/SAMSUNG-SGH-I717/i) || //Samsung Note 32 navigator.userAgent.match(/SM-T330NU/i) //Samsung Tab 4 33 34){ var tablet_device = true; var touch_device = true; } 35 36 37<!-- //Toggle Drop Down Menu on Tablets 38 39if(tablet_device){ 40 41$(document).ready(function() { 42 $('.nav_item').click(function() { 43 $(this).siblings(".dropdown-content").toggle(); 44 }); 45}); 46 47 48$(document).ready(function() { 49 $('.hdr_item').click(function() { 50 $(this).siblings(".hdr_dropdown-content").toggle(); 51 }); 52}); 53 54} 55 56 57 58 59 60 61<!-- //Swipe to Close Mobile Menu 62 63 64$(document).ready(function(){ 65 66 Hammer(myDropdown).on("swipeleft", function(event) { 67 68 69 $('#nav_menu').toggleClass('open'); 70 document.getElementById("myDropdown").classList.toggle("show"); 71 72 73 74 75 }); 76 77}); 78 79 80<!-- //Mobile Drop Down Menu 81 82 $(document).ready(function() { 83 84 $('#div1').hide(); 85 $('#show1').click(function() { 86 $('#div1').slideToggle('fast'); 87 return false; 88 }); 89 90 $('#div2').hide(); 91 $('#show2').click(function() { 92 $('#div2').slideToggle('fast'); 93 return false; 94 }); 95 96 $('#div3').hide(); 97 $('#show3').click(function() { 98 $('#div3').slideToggle('fast'); 99 return false; 100 }); 101 102 $('#div4').hide(); 103 $('#show4').click(function() { 104 $('#div4').slideToggle('fast'); 105 return false; 106 }); 107 108 $('#div5').hide(); 109 $('#show5').click(function() { 110 $('#div5').slideToggle('fast'); 111 return false; 112 }); 113 114 $('#div6').hide(); 115 $('#show6').click(function() { 116 $('#div6').slideToggle('fast'); 117 return false; 118 }); 119 120 $('#div7').hide(); 121 $('#show7').click(function() { 122 $('#div7').slideToggle('fast'); 123 return false; 124 }); 125 126 });
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.