Line 1,306: | Line 1,306: | ||
<!-- this div is hidden by default and will only be displayed if the screen size is too small --> | <!-- this div is hidden by default and will only be displayed if the screen size is too small --> | ||
− | + | ||
− | + | <div class="menu2_content"> | |
− | < | + | |
− | + | ||
<a href="https://2018.igem.org/Team:NCTU_Formosa"> | <a href="https://2018.igem.org/Team:NCTU_Formosa"> | ||
<div class="menu2_button direct_to_page"> | <div class="menu2_button direct_to_page"> | ||
Line 1,630: | Line 1,628: | ||
$(".igem_2018_menu2_wrapper").toggle(); | $(".igem_2018_menu2_wrapper").toggle(); | ||
$(".submenu2_wrapper").hide(); | $(".submenu2_wrapper").hide(); | ||
− | $(" | + | $(".menu2_content").children().removeClass("open"); |
}); | }); | ||
}); | }); | ||
Line 1,636: | Line 1,634: | ||
$(document).ready(function(){ | $(document).ready(function(){ | ||
− | $("# | + | $("#display_menu2_control").click(function(){ |
$("#menu2_content").toggle(100); | $("#menu2_content").toggle(100); | ||
}); | }); |
Revision as of 14:55, 1 October 2018