Team:Cornell/Sandbox/notebook

From 2012.igem.org

(Difference between revisions)
Line 63: Line 63:
function weekFilter(that) {
function weekFilter(that) {
var filt = that.id;
var filt = that.id;
-
var row = that.parentNode;
+
var row = that.parentNode.parentNode;
alert(row.children.length);
alert(row.children.length);
for(var i=0; i<row.children.length; i++)
for(var i=0; i<row.children.length; i++)
{
{
var hide = true;
var hide = true;
-
if(row.children[i].id == filt) hide = false;
+
if(row.children[0].children[i].id == filt) hide = false;
-
var list = document.getElementsByClassName(row.children[i].id + "entry");
+
var list = document.getElementsByClassName(row.children[0].children[i].id + "entry");
for (var j = 0; j < list.length; j++) {
for (var j = 0; j < list.length; j++) {

Revision as of 21:38, 5 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