Team:Cornell/Sandbox/notebook

From 2012.igem.org

(Difference between revisions)
Line 22: Line 22:
}
}
function filter(that) {
function filter(that) {
-
var ele = that.children[1];
+
var ele = that.children[0];
var show = ele.style.display == 'none';
var show = ele.style.display == 'none';
ele.style.display= (show ? 'block' : 'none');
ele.style.display= (show ? 'block' : 'none');
Line 41: Line 41:
var hide = true;
var hide = true;
if(row.children[i] == filt) hide = false;
if(row.children[i] == filt) hide = false;
-
row.children[i].children[0].children[1].style.display = (hide ? 'none' : 'block');
+
row.children[i].children[0].children[0].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');
Line 65: Line 65:
for(var i=0; i<row.children.length; i++)
for(var i=0; i<row.children.length; i++)
{
{
-
row.children[i].children[0].children[1].style.display = 'block';
+
row.children[i].children[0].children[0].style.display = 'block';
row.children[i].children[1].className = 'nb-only';
row.children[i].children[1].className = 'nb-only';
}
}

Revision as of 01:20, 7 March 2013

Notebook

Filter by subteam:
show all

only
only
only
only
only
only

Week 1

WetTest

DryTest

ModelTest

HPracTest

WikiTest

AnimTest

Week 2

WikiTest

Week 3

AnimTest