(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{CSU_CHINA/Base}} | {{CSU_CHINA/Base}} | ||
+ | {{CSU_CHINA/PageBase}} | ||
+ | |||
+ | |||
<html> | <html> | ||
<style> | <style> | ||
Line 97: | Line 100: | ||
− | + | ||
//highlight current page on the menu | //highlight current page on the menu | ||
highlight_current_page_menu(); | highlight_current_page_menu(); | ||
− | + | //accessing submenus | |
+ | $(".menu_item").click(function(){ | ||
+ | $(".submenu_control_icon", this).toggleClass("open"); | ||
+ | $(this).next(".submenu").fadeToggle(400); | ||
+ | }); | ||
+ | |||
+ | //mobile menu access | ||
+ | $(".igem_2018_team_mobile_bar").click(function(){ | ||
+ | $(this).next().toggleClass("displaying_menu"); | ||
+ | }); | ||
Latest revision as of 02:04, 18 October 2018