Line 58: | Line 58: | ||
' </a>\n' + | ' </a>\n' + | ||
' </li>\n' + | ' </li>\n' + | ||
− | ' <li id=" | + | ' <li id="menu_Other_work">\n' + |
− | ' <a href="https://2018.igem.org/Team:H14Z1_Hangzhou/ | + | ' <a href="https://2018.igem.org/Team:H14Z1_Hangzhou/Applied_Design">\n' + |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
' <span>\n' + | ' <span>\n' + | ||
− | ' | + | ' Product Design\n' + |
' </span>\n' + | ' </span>\n' + | ||
' </a>\n' + | ' </a>\n' + | ||
' </li>\n' + | ' </li>\n' + | ||
' <li id="menu_Other_work">\n' + | ' <li id="menu_Other_work">\n' + | ||
− | ' <a href="https://2018.igem.org/Team:H14Z1_Hangzhou/ | + | ' <a href="https://2018.igem.org/Team:H14Z1_Hangzhou/Entrepreneurship">\n' + |
' <span>\n' + | ' <span>\n' + | ||
− | ' | + | ' Entrepreneurship\n' + |
' </span>\n' + | ' </span>\n' + | ||
' </a>\n' + | ' </a>\n' + | ||
Line 148: | Line 141: | ||
' <span>\n' + | ' <span>\n' + | ||
' Experiments\n' + | ' Experiments\n' + | ||
+ | ' </span>\n' + | ||
+ | ' </a>\n' + | ||
+ | ' </li>\n' + | ||
+ | ' <li id="menu_Notebook">\n' + | ||
+ | ' <a href="https://2018.igem.org/Team:H14Z1_Hangzhou/Protocol">\n' + | ||
+ | ' <span>\n' + | ||
+ | ' Protocol\n' + | ||
' </span>\n' + | ' </span>\n' + | ||
' </a>\n' + | ' </a>\n' + | ||
Line 176: | Line 176: | ||
' </li>\n' + | ' </li>\n' + | ||
' <li id="menu_Project">\n' + | ' <li id="menu_Project">\n' + | ||
− | ' <a href="https://2018.igem.org/Team:H14Z1_Hangzhou/ | + | ' <a href="https://2018.igem.org/Team:H14Z1_Hangzhou/Results">\n' + |
' <span>\n' + | ' <span>\n' + | ||
− | ' | + | ' Results\n' + |
' </span>\n' + | ' </span>\n' + | ||
' </a>\n' + | ' </a>\n' + | ||
' </li>\n' + | ' </li>\n' + | ||
' <li id="menu_Project">\n' + | ' <li id="menu_Project">\n' + | ||
− | ' <a href="https://2018.igem.org/Team:H14Z1_Hangzhou/ | + | ' <a href="https://2018.igem.org/Team:H14Z1_Hangzhou/Demonstrate">\n' + |
' <span>\n' + | ' <span>\n' + | ||
− | ' | + | ' Demonstrate\n' + |
' </span>\n' + | ' </span>\n' + | ||
' </a>\n' + | ' </a>\n' + |
Revision as of 14:28, 15 October 2018
$(function () {
var menu = $("#menu"); // Dynamically append the menu to the menu id on document readymenu.append(' '
); menu.find("#menu_" + menu.attr("attribute")).addClass("active"); // Adds the active class to the correct element
});