Team:Cornell/Sandbox/notebook
From 2012.igem.org
(Difference between revisions)
Line 44: | Line 44: | ||
row.children[i].children[1].className = (hide ? 'nb-only-i' : 'nb-only'); | row.children[i].children[1].className = (hide ? 'nb-only-i' : 'nb-only'); | ||
- | var list = document.getElementsByClassName('nb-' + row.children[i].children[0].children[ | + | var list = document.getElementsByClassName('nb-' + row.children[i].children[0].children[0].id); |
for (var j = 0; j < list.length; j++) { | for (var j = 0; j < list.length; j++) { | ||
list[j].style.display = (hide ? 'none' : 'block'); | list[j].style.display = (hide ? 'none' : 'block'); |
Revision as of 03:43, 7 March 2013