Team:Cornell/Sandbox/notebook
From 2012.igem.org
(Difference between revisions)
R.Lizarralde (Talk | contribs) |
R.Lizarralde (Talk | contribs) |
||
Line 26: | Line 26: | ||
all(); | all(); | ||
- | var list = document.getElementsByClassName( | + | var list = document.getElementsByClassName(ele.id + "nb"); |
for (var i = 0; i < list.length; i++) { | for (var i = 0; i < list.length; i++) { | ||
list[i].style.display = (show ? 'block' : 'none'); | list[i].style.display = (show ? 'block' : 'none'); | ||
Line 41: | Line 41: | ||
row.children[i].children[0].children[1].style.display = (hide ? 'none' : 'block'); | row.children[i].children[0].children[1].style.display = (hide ? 'none' : 'block'); | ||
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 = | + | var list = document.getElementsByClassName(row.children[i].children[0].children[1].id + "nb"); |
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'); | ||
Line 180: | Line 180: | ||
<div class="twelve columns"> | <div class="twelve columns"> | ||
<h3 class="centered">Week 1</h3> | <h3 class="centered">Week 1</h3> | ||
- | <div class="row entry | + | <div class="row entry wetnb"> |
<div class="twelve columns"> | <div class="twelve columns"> | ||
<h4>WetTest</h4> | <h4>WetTest</h4> | ||
</div> | </div> | ||
</div> | </div> | ||
- | <div class="row entry | + | <div class="row entry drynb"> |
<div class="twelve columns"> | <div class="twelve columns"> | ||
<h4>DryTest</h4> | <h4>DryTest</h4> | ||
</div> | </div> | ||
</div> | </div> | ||
- | <div class="row entry | + | <div class="row entry modelnb"> |
<div class="twelve columns"> | <div class="twelve columns"> | ||
<h4>ModelTest</h4> | <h4>ModelTest</h4> | ||
</div> | </div> | ||
</div> | </div> | ||
- | <div class="row entry | + | <div class="row entry hpracnb"> |
<div class="twelve columns"> | <div class="twelve columns"> | ||
<h4>HPracTest</h4> | <h4>HPracTest</h4> | ||
</div> | </div> | ||
</div> | </div> | ||
- | <div class="row entry | + | <div class="row entry wikinb"> |
<div class="twelve columns"> | <div class="twelve columns"> | ||
<h4>WikiTest</h4> | <h4>WikiTest</h4> | ||
</div> | </div> | ||
</div> | </div> | ||
- | <div class="row entry | + | <div class="row entry animnb"> |
<div class="twelve columns"> | <div class="twelve columns"> | ||
<h4>AnimTest</h4> | <h4>AnimTest</h4> | ||
Line 215: | Line 215: | ||
<div class="twelve columns"> | <div class="twelve columns"> | ||
<h3 class="centered" >Week 2</h3> | <h3 class="centered" >Week 2</h3> | ||
- | <div class="row entry | + | <div class="row entry wikinb"> |
<div class="twelve columns"> | <div class="twelve columns"> | ||
<h4>WikiTest</h4> | <h4>WikiTest</h4> | ||
Line 225: | Line 225: | ||
<div class="twelve columns"> | <div class="twelve columns"> | ||
<h3 class="centered">Week 3</h3> | <h3 class="centered">Week 3</h3> | ||
- | <div class="row entry | + | <div class="row entry animnb"> |
<div class="twelve columns"> | <div class="twelve columns"> | ||
<h4>AnimTest</h4> | <h4>AnimTest</h4> |
Revision as of 21:13, 6 March 2013