Team:Cornell/Sandbox/notebook
From 2012.igem.org
(Difference between revisions)
Line 74: | Line 74: | ||
} | } | ||
function weekFilter(that) { | function weekFilter(that) { | ||
- | for(var i = 1; i< | + | for(var i = 1; i<9; i++) { |
document.getElementById('week' + i).className = (that.id.substr(4) == i ? 'active' : ''); | document.getElementById('week' + i).className = (that.id.substr(4) == i ? 'active' : ''); | ||
} | } |
Revision as of 21:42, 6 March 2013