Line 25: | Line 25: | ||
//when clicking on a "menu_button", it will change the "+/-" accordingly and it will show/hide the corresponding submenu | //when clicking on a "menu_button", it will change the "+/-" accordingly and it will show/hide the corresponding submenu | ||
− | $(".menu_button").click(function(){ | + | /*$(".menu_button").click(function(){ |
// add or remove the class "open" , this class holds the "-" | // add or remove the class "open" , this class holds the "-" | ||
Line 31: | Line 31: | ||
// show or hide the submenu | // show or hide the submenu | ||
$(this).next('.submenu_wrapper').fadeToggle(400); | $(this).next('.submenu_wrapper').fadeToggle(400); | ||
− | }); | + | });*/ |
// when the screen size is smaller than 800px, the display_menu_control button appears and will show/hide the whole menu | // when the screen size is smaller than 800px, the display_menu_control button appears and will show/hide the whole menu |
Revision as of 02:15, 22 July 2017