Team:Freiburg/Templates/header
From 2011.igem.org
(Difference between revisions)
Line 19: | Line 19: | ||
var smList = ["sub-members#sub-attributions#sub-freiburg", "sub-overview#sub-motivation#sub-description#sub-results#sub-modelling#sub-notebook#sub-safety", "", "", ""]; | var smList = ["sub-members#sub-attributions#sub-freiburg", "sub-overview#sub-motivation#sub-description#sub-results#sub-modelling#sub-notebook#sub-safety", "", "", ""]; | ||
for (var i = 0; i < smList.length; i++){ | for (var i = 0; i < smList.length; i++){ | ||
- | if (smList[i].search( | + | if (smList[i].search(id) >= 0){ |
alert("da"); | alert("da"); | ||
- | + | alert(sbmenus[i]); | |
} | } | ||
} | } |
Revision as of 15:41, 14 July 2011