Team:Cornell/Sandbox/notebook

From 2012.igem.org

(Difference between revisions)
Line 26: Line 26:
all();
all();
-
var list = document.getElementsByClassName("nb-" + ele.id);
+
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');
-
alert("nb-" + document.getElementsByClassName(row.children[i].children[0].children[1].id));
+
-
var list = "nb-" + document.getElementsByClassName(row.children[i].children[0].children[1].id);
+
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 nb-wet">
+
<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 nb-dry">
+
<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 nb-model">
+
<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 nb-hprac">
+
<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 nb-wiki">
+
<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 nb-anim">
+
<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 nb-wiki">
+
<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 nb-anim">
+
<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

Notebook

Filter by subteam:
show all

only
only
only
only
only
only