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