Team:Cornell/Sandbox/notebook
From 2012.igem.org
(Difference between revisions)
R.Lizarralde (Talk | contribs) |
R.Lizarralde (Talk | contribs) |
||
Line 7: | Line 7: | ||
<script> | <script> | ||
function load() { | function load() { | ||
- | var num = | + | var num = 10; <!-- # of weeks --!> |
if(document.location == "https://2012.igem.org/Team:Cornell/Sandbox/notebook"){ | if(document.location == "https://2012.igem.org/Team:Cornell/Sandbox/notebook"){ | ||
document.getElementById("week1entry").style.display = 'block'; | document.getElementById("week1entry").style.display = 'block'; | ||
} | } | ||
else { | else { | ||
- | + | document.getElementById("week" + i + "entry").style.display = 'block'; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
} | } |
Revision as of 23:29, 5 March 2013