Team:Freiburg/Templates/header
From 2011.igem.org
(Difference between revisions)
m |
|||
Line 16: | Line 16: | ||
function highlightMenuItem(id){ | function highlightMenuItem(id){ | ||
alert('highlight'+id); | alert('highlight'+id); | ||
- | document.getElementById(id).style.color='red'; | + | if(document.getElementById(id) != null) |
+ | document.getElementById(id).style.color='red'; | ||
} | } | ||
Revision as of 18:41, 3 July 2011