Template:Team:Valencia Biocampus/Templates/Header
From 2014.igem.org
(Difference between revisions)
Line 57: | Line 57: | ||
<script type="text/javascrip"> | <script type="text/javascrip"> | ||
- | if(typeof activeSection | + | if(typeof activeSection !== "undefined" ){ |
- | + | $("#header-menu li.active").removeClass("active"); | |
- | + | $("#menu_a_"+activeSection).addClass("active"); | |
- | + | } | |
- | + | ||
</script> | </script> | ||
</html> | </html> |
Revision as of 19:45, 25 August 2014