Team:Freiburg/Templates/header
From 2011.igem.org
(Difference between revisions)
Line 15: | Line 15: | ||
alert('highlight'); | alert('highlight'); | ||
if(document.getElementById(id) != null){ | if(document.getElementById(id) != null){ | ||
- | document.getElementById(id).style.fontWeight=' | + | document.getElementById(id).style.fontWeight=''; |
+ | array = document.getElementById(id).getElementsByTagName("span"); | ||
+ | for (var i = 0; i < array.length; i++){ | ||
+ | array[i].style.display="none"; | ||
+ | } | ||
alert('da'); | alert('da'); | ||
} | } |
Revision as of 19:10, 3 July 2011