Team:HIT-Harbin/js/main.js
From 2014.igem.org
(Difference between revisions)
Line 6: | Line 6: | ||
var subMenu = div.getElementsByTagName("ul")[0]; | var subMenu = div.getElementsByTagName("ul")[0]; | ||
subMenu.style.display = "none"; | subMenu.style.display = "none"; | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
} | } |
Revision as of 14:17, 22 July 2014
function displaySubMenu(div) { var subMenu = div.getElementsByTagName("ul")[0]; subMenu.style.display = "block"; } function hideSubMenu(div) { var subMenu = div.getElementsByTagName("ul")[0]; subMenu.style.display = "none"; }