(Created page with "$(function () { var menu = $("#menu"); // Dynamically append the menu to the menu id on document ready menu.append('<div id="cssmenu">\n' + // Menu is orde...") |
|||
Line 13: | Line 13: | ||
' </div>\n' + | ' </div>\n' + | ||
' <ul>\n' + | ' <ul>\n' + | ||
− | ' <li id=" | + | ' <li id="menu_Judging">\n' + |
− | ' <a href="https:// | + | ' <a href="https://2018.igem.org/Team:H14Z1_Hangzhou/Achievements">\n' + |
' <span>\n' + | ' <span>\n' + | ||
' Achievements\n' + | ' Achievements\n' + | ||
Line 20: | Line 20: | ||
' </a>\n' + | ' </a>\n' + | ||
' </li>\n' + | ' </li>\n' + | ||
− | ' <li id=" | + | ' <li id="menu_Judging">\n' + |
− | ' <a href="https:// | + | ' <a href="https://2018.igem.org/Team:H14Z1_Hangzhou/Meet_the_requirements">\n' + |
' <span>\n' + | ' <span>\n' + | ||
' Meet the requirements\n' + | ' Meet the requirements\n' + | ||
Line 27: | Line 27: | ||
' </a>\n' + | ' </a>\n' + | ||
' </li>\n' + | ' </li>\n' + | ||
− | ' <li id=" | + | ' <li id="menu_Judging">\n' + |
− | ' <a href="https:// | + | ' <a href="https://2018.igem.org/Team:H14Z1_Hangzhou/Parts">\n' + |
' <span>\n' + | ' <span>\n' + | ||
' Parts\n' + | ' Parts\n' + | ||
Line 34: | Line 34: | ||
' </a>\n' + | ' </a>\n' + | ||
' </li>\n' + | ' </li>\n' + | ||
− | ' <li id=" | + | ' <li id="menu_Judging">\n' + |
− | ' <a href="https:// | + | ' <a href="https://2018.igem.org/Team:H14Z1_Hangzhou/Interlab">\n' + |
' <span>\n' + | ' <span>\n' + | ||
' Interlab\n' + | ' Interlab\n' + | ||
Line 51: | Line 51: | ||
' </div>\n' + | ' </div>\n' + | ||
' <ul>\n' + | ' <ul>\n' + | ||
− | ' <li id=" | + | ' <li id="menu_Human_practice">\n' + |
− | ' <a href="https:// | + | ' <a href="https://2018.igem.org/Team:H14Z1_Hangzhou/Investigation">\n' + |
' <span>\n' + | ' <span>\n' + | ||
' Investigation\n' + | ' Investigation\n' + | ||
Line 58: | Line 58: | ||
' </a>\n' + | ' </a>\n' + | ||
' </li>\n' + | ' </li>\n' + | ||
− | ' <li id=" | + | ' <li id="menu_Human_practice">\n' + |
− | ' <a href="https:// | + | ' <a href="https://2018.igem.org/Team:H14Z1_Hangzhou/Publicity">\n' + |
' <span>\n' + | ' <span>\n' + | ||
' Publicity\n' + | ' Publicity\n' + | ||
Line 69: | Line 69: | ||
// Safety | // Safety | ||
' <li id="menu_Safety">\n' + | ' <li id="menu_Safety">\n' + | ||
− | ' <a href="https:// | + | ' <a href="https://2018.igem.org/Team:H14Z1_Hangzhou/Safety">\n' + |
' <div>\n' + | ' <div>\n' + | ||
' <span>\n' + | ' <span>\n' + | ||
Line 86: | Line 86: | ||
' <ul>\n' + | ' <ul>\n' + | ||
' <li id="menu_Experiments">\n' + | ' <li id="menu_Experiments">\n' + | ||
− | ' <a href="https:// | + | ' <a href="https://2018.igem.org/Team:H14Z1_Hangzhou/Experiments">\n' + |
' <span>\n' + | ' <span>\n' + | ||
' Experiments\n' + | ' Experiments\n' + | ||
Line 93: | Line 93: | ||
' </li>\n' + | ' </li>\n' + | ||
' <li id="menu_Proof">\n' + | ' <li id="menu_Proof">\n' + | ||
− | ' <a href="https:// | + | ' <a href="https://2018.igem.org/Team:H14Z1_Hangzhou/Proof">\n' + |
' <span>\n' + | ' <span>\n' + | ||
' Proof\n' + | ' Proof\n' + | ||
Line 100: | Line 100: | ||
' </li>\n' + | ' </li>\n' + | ||
' <li id="menu_Demonstrate">\n' + | ' <li id="menu_Demonstrate">\n' + | ||
− | ' <a href="https:// | + | ' <a href="https://2018.igem.org/Team:H14Z1_Hangzhou/Demonstrate">\n' + |
' <span>\n' + | ' <span>\n' + | ||
' Demonstrate\n' + | ' Demonstrate\n' + | ||
Line 107: | Line 107: | ||
' </li>\n' + | ' </li>\n' + | ||
' <li id="menu_Application">\n' + | ' <li id="menu_Application">\n' + | ||
− | ' <a href="https:// | + | ' <a href="https://2018.igem.org/Team:H14Z1_Hangzhou/Application">\n' + |
' <span>\n' + | ' <span>\n' + | ||
' Application\n' + | ' Application\n' + | ||
Line 114: | Line 114: | ||
' </li>\n' + | ' </li>\n' + | ||
' <li id="menu_Model">\n' + | ' <li id="menu_Model">\n' + | ||
− | ' <a href="https:// | + | ' <a href="https://2018.igem.org/Team:H14Z1_Hangzhou/Model">\n' + |
' <span>\n' + | ' <span>\n' + | ||
' Model\n' + | ' Model\n' + | ||
Line 121: | Line 121: | ||
' </li>\n' + | ' </li>\n' + | ||
' <li id="menu_Protocol">\n' + | ' <li id="menu_Protocol">\n' + | ||
− | ' <a href="https:// | + | ' <a href="https://2018.igem.org/Team:H14Z1_Hangzhou/result">\n' + |
' <span>\n' + | ' <span>\n' + | ||
' Protocol\n' + | ' Protocol\n' + | ||
Line 138: | Line 138: | ||
' <ul>\n' + | ' <ul>\n' + | ||
' <li id="menu_Background">\n' + | ' <li id="menu_Background">\n' + | ||
− | ' <a href="https:// | + | ' <a href="https://2018.igem.org/Team:H14Z1_Hangzhou/Background">\n' + |
' <span>\n' + | ' <span>\n' + | ||
' Background\n' + | ' Background\n' + | ||
Line 145: | Line 145: | ||
' </li>\n' + | ' </li>\n' + | ||
' <li id="menu_Project_overview">\n' + | ' <li id="menu_Project_overview">\n' + | ||
− | ' <a href="https:// | + | ' <a href="https://2018.igem.org/Team:H14Z1_Hangzhou/Project_overview">\n' + |
' <span>\n' + | ' <span>\n' + | ||
' Project overview\n' + | ' Project overview\n' + | ||
Line 162: | Line 162: | ||
' <ul>\n' + | ' <ul>\n' + | ||
' <li id="menu_Meet_the_team">\n' + | ' <li id="menu_Meet_the_team">\n' + | ||
− | ' <a href="https:// | + | ' <a href="https://2018.igem.org/Team:H14Z1_Hangzhou/Team">\n' + |
' <span>\n' + | ' <span>\n' + | ||
' Meet the team\n' + | ' Meet the team\n' + | ||
Line 169: | Line 169: | ||
' </li>\n' + | ' </li>\n' + | ||
' <li id="menu_Attributions">\n' + | ' <li id="menu_Attributions">\n' + | ||
− | ' <a href="https:// | + | ' <a href="https://2018.igem.org/Team:H14Z1_Hangzhou/Team">\n' + |
' <span>\n' + | ' <span>\n' + | ||
' Attributions\n' + | ' Attributions\n' + | ||
Line 176: | Line 176: | ||
' </li>\n' + | ' </li>\n' + | ||
' <li id="menu_Notebook">\n' + | ' <li id="menu_Notebook">\n' + | ||
− | ' <a href="https:// | + | ' <a href="https://2018.igem.org/Team:H14Z1_Hangzhou/Team">\n' + |
' <span>\n' + | ' <span>\n' + | ||
' Notebook\n' + | ' Notebook\n' + | ||
Line 186: | Line 186: | ||
// home | // home | ||
' <li id="menu_Home">\n' + | ' <li id="menu_Home">\n' + | ||
− | ' <a href="https:// | + | ' <a href="https://2018.igem.org/Team:H14Z1_Hangzhou">\n' + |
' <div>\n' + | ' <div>\n' + | ||
' <span>\n' + | ' <span>\n' + |
Revision as of 08:58, 9 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
});