Team:Cornell/Sandbox/notebook
From 2012.igem.org
(Difference between revisions)
R.Lizarralde (Talk | contribs) |
R.Lizarralde (Talk | contribs) |
||
Line 62: | Line 62: | ||
} | } | ||
function weekFilter(that) { | function weekFilter(that) { | ||
- | |||
var filt = that.id; | var filt = that.id; | ||
var row = that.parentNode; | var row = that.parentNode; | ||
+ | |||
for(var i=0; i<row.children.length; i++) | for(var i=0; i<row.children.length; i++) | ||
{ | { | ||
Line 71: | Line 71: | ||
var list = document.getElementsByClassName(row.children[i].id + "entry"); | var list = document.getElementsByClassName(row.children[i].id + "entry"); | ||
+ | alert(row.children[i].id + "entry"); | ||
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 21:36, 5 March 2013