1var Menu = (function (document, $, undefined) { 2 3 $(document).ready(function () { 4 5 $('#menu_opener').click(function(e) { 6 e.preventDefault(); 7 //$('#menu_mvl').show(); 8 if ($('#menu_mvl').is(':visible')) { 9 $('#menu_mvl').slideUp(); 10 } 11 else { 12 $('#menu_mvl').slideDown(); 13 } 14 }); 15 $('#menu_closer').click(function(e) { 16 e.preventDefault(); 17 //$('#menu_mvl').hide(); 18 $('#menu_mvl').slideUp(); 19 }); 20 21 22 //menu child 23 $('.menunmvl_child_opener').click(function(e){ 24 console.log('click'); 25 if ($(this).parent().find('.menmvl_child').hasClass('d-none')) { 26 $(this).parent().find('.menmvl_child').removeClass('d-none') 27 } 28 else { 29 $(this).parent().find('.menmvl_child').addClass('d-none'); 30 } 31 }); 32 33 //menu child lvl2 34 $('.menunmvl_child_opener_2').click(function(e){ 35 console.log('click'); 36 if ($(this).parent().find('.menmvl_child_2').hasClass('d-none')) { 37 $(this).parent().find('.menmvl_child_2').removeClass('d-none') 38 } 39 else { 40 $(this).parent().find('.menmvl_child_2').addClass('d-none'); 41 } 42 }); 43 44 45 /* $(window).scroll(function() { 46 if ($(this).scrollTop() > 150){ 47 $('.header').addClass('sticky'); 48 }else { 49 $('.header').removeClass('sticky'); 50 } 51 }); 52 53 $('.menu_mvl_link').click(function(e){ 54 $('#menu_mvl').slideUp(); 55 })*/ 56 }); 57 58})(document, jQuery);
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.