Team:Cornell/Sandbox/notebook
From 2012.igem.org
(Difference between revisions)
R.Lizarralde (Talk | contribs) |
|||
Line 80: | Line 80: | ||
} | } | ||
document.getElementById(filt).style.display = "block"; | document.getElementById(filt).style.display = "block"; | ||
+ | alert(that.id.substr(4)); | ||
+ | for(var i = 1; i<20; i++) { | ||
+ | if(that.id.substr(4) == i) i=20; | ||
+ | } | ||
} | } | ||
</script> | </script> | ||
Line 93: | Line 97: | ||
</li> | </li> | ||
<li id="week1" onclick="weekFilter(this)"> | <li id="week1" onclick="weekFilter(this)"> | ||
- | <a class=" | + | <a class="nb-week" href="#1">Week 1</a> |
</li> | </li> | ||
<li id="week2" onclick="weekFilter(this)"> | <li id="week2" onclick="weekFilter(this)"> | ||
- | <a class=" | + | <a class="nb-week" href="#2">Week 2</a> |
</li> | </li> | ||
<li id="week3" onclick="weekFilter(this)"> | <li id="week3" onclick="weekFilter(this)"> | ||
- | <a class=" | + | <a class="nb-week" href="#3">Week 3</a> |
</li> | </li> | ||
<li id="week4" onclick="weekFilter(this)"> | <li id="week4" onclick="weekFilter(this)"> | ||
- | <a class=" | + | <a class="nb-week" href="#4">Week 4</a> |
</li> | </li> | ||
<li class="divider"></li> | <li class="divider"></li> | ||
- | <li class=" | + | <li class="nb-month"> |
<div class="month">June</div> | <div class="month">June</div> | ||
</li> | </li> | ||
<li id="week5" onclick="weekFilter(this)"> | <li id="week5" onclick="weekFilter(this)"> | ||
- | <a class=" | + | <a class="nb-week" href="#5">Week 5</a> |
</li> | </li> | ||
<li id="week6" onclick="weekFilter(this)"> | <li id="week6" onclick="weekFilter(this)"> | ||
- | <a class=" | + | <a class="nb-week" href="#6">Week 6</a> |
</li> | </li> | ||
<li id="week7" onclick="weekFilter(this)"> | <li id="week7" onclick="weekFilter(this)"> | ||
- | <a class=" | + | <a class="nb-week" href="#7">Week 7</a> |
</li> | </li> | ||
<li id="week8" onclick="weekFilter(this)"> | <li id="week8" onclick="weekFilter(this)"> | ||
- | <a class=" | + | <a class="nb-week" href="#8">Week 8</a> |
</li> | </li> | ||
</ul> | </ul> |
Revision as of 21:32, 6 March 2013