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