Team:Freiburg/Templates/header
From 2011.igem.org
(Difference between revisions)
Line 20: | Line 20: | ||
for (var i = 0; i < smList.length; i++){ | for (var i = 0; i < smList.length; i++){ | ||
if (smList[i].search(url) >= 0){ | if (smList[i].search(url) >= 0){ | ||
- | |||
id = sbmenus[i]; | id = sbmenus[i]; | ||
} | } | ||
Line 29: | Line 28: | ||
function highlightMenuItem(id){ | function highlightMenuItem(id){ | ||
- | |||
if(document.getElementById(id) != null){ | if(document.getElementById(id) != null){ | ||
document.getElementById(id).style.fontWeight='bold'; | document.getElementById(id).style.fontWeight='bold'; |
Revision as of 15:48, 14 July 2011