Team:Cornell/Sandbox/notebook
From 2012.igem.org
(Difference between revisions)
Line 17: | Line 17: | ||
document.getElementById('week' + i + 'entry').style.display = 'block'; | document.getElementById('week' + i + 'entry').style.display = 'block'; | ||
document.getElementById('week' + i ).className = 'active'; | document.getElementById('week' + i ).className = 'active'; | ||
+ | if(i != 1) document.getElementById('week1').className = ''; | ||
} | } | ||
function filter(that) { | function filter(that) { | ||
Line 94: | Line 95: | ||
<div class="month">May</div> | <div class="month">May</div> | ||
</li> | </li> | ||
- | <li id="week1" onclick="weekFilter(this)"> | + | <li id="week1" class="active" onclick="weekFilter(this)"> |
<a class="nb-week" href="#1">Week 1</a> | <a class="nb-week" href="#1">Week 1</a> | ||
</li> | </li> |
Revision as of 21:40, 6 March 2013