Template:Team:Valencia Biocampus/Templates/Header
From 2013.igem.org
(Difference between revisions)
Line 4: | Line 4: | ||
<script type="text/javascript" src="http://code.jquery.com/jquery-1.7.1.min.js"></script> | <script type="text/javascript" src="http://code.jquery.com/jquery-1.7.1.min.js"></script> | ||
- | + | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
var showStaticMenuBar = false; | var showStaticMenuBar = false; | ||
Line 23: | Line 23: | ||
} | } | ||
}); | }); | ||
+ | $(document).ready(function() { | ||
+ | $("#top_menu li a.active").removeClass("active"); | ||
+ | |||
+ | $("#menu_a_"+activeSection).addClass("active"); | ||
+ | |||
+ | }); | ||
</script> | </script> | ||
Line 31: | Line 37: | ||
<div id="top_menu_wrapper"> | <div id="top_menu_wrapper"> | ||
<ul id="top_menu" class="container"> | <ul id="top_menu" class="container"> | ||
- | <li><a href="https://2013.igem.org/Team:Valencia_Biocampus">Home</a></li> | + | <li><a href="https://2013.igem.org/Team:Valencia_Biocampus" id="menu_a_home" class="active">Home</a></li> |
- | <li><a href="https://2013.igem.org/Team:Valencia_Biocampus/Team">Team</a></li> | + | <li><a href="https://2013.igem.org/Team:Valencia_Biocampus/Team" id="menu_a_team">Team</a></li> |
- | <li><a href="https://2013.igem.org/Team:Valencia_Biocampus/Project">Project</a></li> | + | <li><a href="https://2013.igem.org/Team:Valencia_Biocampus/Project" id="menu_a_project">Project</a></li> |
- | <li><a href="https://2013.igem.org/Team:Valencia_Biocampus/Parts">Parts</a></li> | + | <li><a href="https://2013.igem.org/Team:Valencia_Biocampus/Parts" id="menu_a_parts">Parts</a></li> |
- | <li><a href="https://2013.igem.org/Team:Valencia_Biocampus/Modeling"> | + | <li><a href="https://2013.igem.org/Team:Valencia_Biocampus/Modeling" id="menu_a_modeling">Modeling</a></li> |
- | <li><a href="https://2013.igem.org/Team:Valencia_Biocampus/Notebook" | + | <li><a href="https://2013.igem.org/Team:Valencia_Biocampus/Notebook" id="menu_a_notebook">Notebook</a></li> |
- | <li><a href="https://2013.igem.org/Team:Valencia_Biocampus/Safety">Safety</a></li> | + | <li><a href="https://2013.igem.org/Team:Valencia_Biocampus/Safety" id="menu_a_safety">Safety</a></li> |
- | <li><a href="https://2013.igem.org/Team:Valencia_Biocampus/Attributions">Attributions</a></li> | + | <li><a href="https://2013.igem.org/Team:Valencia_Biocampus/Attributions" id="menu_a_attributions">Attributions</a></li> |
</ul> | </ul> |
Revision as of 09:33, 17 July 2013