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