1<!-- BEGIN MENU --> 2jQuery('.taptap-menu-button-wrapper').on('touchstart click', function(e) { 3'use strict'; 4 e.preventDefault(); 5 if(jQuery('.taptap-background-color').hasClass('taptap-background-color-active')) 6 { 7 /* hide main wrapper */ 8 jQuery('.taptap-main-wrapper').removeClass('taptap-main-wrapper-active'); 9 /* hide background color */ 10 jQuery('.taptap-background-color').removeClass('taptap-background-color-active'); 11 /* hide background image */ 12 jQuery('.taptap-background-image').removeClass('taptap-background-image-active'); 13 /* hide expanded menu button */ 14 jQuery('.taptap-menu-button-wrapper').removeClass('taptap-menu-active'); 15 /* hide menu */ 16 jQuery('.taptap-menu').removeClass('taptap-menu-active'); 17 } else { 18 /* show main wrapper */ 19 jQuery('.taptap-main-wrapper').addClass('taptap-main-wrapper-active'); 20 /* show background color */ 21 jQuery('.taptap-background-color').addClass('taptap-background-color-active'); 22 /* show background image */ 23 jQuery('.taptap-background-image').addClass('taptap-background-image-active'); 24 /* show expanded menu button */ 25 jQuery('.taptap-menu-button-wrapper').addClass('taptap-menu-active'); 26 /* show menu */ 27 jQuery('.taptap-menu').addClass('taptap-menu-active'); 28 } 29}); 30<!-- END MENU --> 31 32<!-- BEGIN HIDE MENU WHEN ESC BUTTON PRESSED --> 33jQuery(document).keyup(function(e) { 34 if (e.keyCode == 27) { 35 36 /* hide main wrapper */ 37 jQuery('.taptap-main-wrapper').removeClass('taptap-main-wrapper-active'); 38 /* hide background color */ 39 jQuery('.taptap-background-color').removeClass('taptap-background-color-active'); 40 /* hide background image */ 41 jQuery('.taptap-background-image').removeClass('taptap-background-image-active'); 42 /* hide expanded menu button */ 43 jQuery('.taptap-menu-button-wrapper').removeClass('taptap-menu-active'); 44 /* hide menu */ 45 jQuery('.taptap-menu').removeClass('taptap-menu-active'); 46 47 return false; 48 49 } 50}); 51<!-- END HIDE MENU WHEN ESC BUTTON PRESSED --> 52 53<!-- BEGIN SHOW SEARCH FORM --> 54jQuery('.taptap-search-button, .taptap-search-button-right').on('touchstart click', function(e) { 55'use strict'; 56 e.preventDefault(); 57 if(jQuery('.taptap-search-wrapper').hasClass('taptap-search-wrapper-active')) 58 { 59 /* hide search field */ 60 jQuery('.taptap-search-wrapper').removeClass('taptap-search-wrapper-active'); 61 jQuery('.taptap-search-wrapper #searchform #s').blur(); 62 } else { 63 /* show search field */ 64 setTimeout(function(){ 65 jQuery('.taptap-search-wrapper').addClass('taptap-search-wrapper-active'); 66 },100); 67 /* focus search field */ 68 jQuery('.taptap-search-wrapper #searchform #s').focus(); 69 } 70}); 71<!-- END SHOW SEARCH FORM --> 72 73<!-- BEGIN HIDE SEARCH FORM --> 74jQuery('.taptap-search-close-icon').on('touchstart click', function(e) { 75'use strict'; 76 e.preventDefault(); 77 /* hide search field */ 78 jQuery('.taptap-search-wrapper').removeClass('taptap-search-wrapper-active'); 79 jQuery('.taptap-search-wrapper #searchform #s').blur(); 80}); 81<!-- END HIDE SEARCH FORM --> 82 83<!-- BEGIN REMOVE MENU DESCRIPTION DIV IF NO DESCRIPTION ENTERED --> 84jQuery(document).ready(function() { 85'use strict'; 86 jQuery('.taptap-menu-item-description:empty').remove(); 87}); 88<!-- END REMOVE MENU DESCRIPTION DIV IF NO DESCRIPTION ENTERED -->
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.