Team:Freiburg/Templates/header
From 2011.igem.org
(Difference between revisions)
Line 11: | Line 11: | ||
//alert(null); | //alert(null); | ||
url="home"; | url="home"; | ||
+ | hideSubmenu(none); | ||
+ | highlightMenuItem(url); | ||
} | } | ||
else{ | else{ | ||
splitted = url.split("2011.igem.org/Team:Freiburg/"); | splitted = url.split("2011.igem.org/Team:Freiburg/"); | ||
url = splitted[1].toLowerCase(); | url = splitted[1].toLowerCase(); | ||
- | |||
var id = 'sub-'+ url; | var id = 'sub-'+ url; | ||
hideSubmenu(id); | hideSubmenu(id); | ||
highlightMenuItem(url); | highlightMenuItem(url); | ||
+ | } | ||
} | } | ||
Revision as of 09:03, 4 July 2011