Team:Freiburg/Templates/header
From 2011.igem.org
(Difference between revisions)
Line 26: | Line 26: | ||
function highlightMenuItem(id){ | function highlightMenuItem(id){ | ||
alert('highlight'); | alert('highlight'); | ||
- | document.getElementById(id).getElementsByTagName('a').style. | + | array = document.getElementById(id).getElementsByTagName('a'); |
+ | for (var i = 0; i < array.length; i++){ | ||
+ | array[i].style.fontWeight = "bold"; | ||
+ | } | ||
} | } | ||
Revision as of 17:30, 3 July 2011