Team:Cornell/Sandbox/notebook

From 2012.igem.org

(Difference between revisions)
Line 7: Line 7:
<script>
<script>
function load() {
function load() {
-
var num = 3; <!-- # of weeks --!>
+
var num = 10; <!-- # of weeks --!>
if(document.location == "http://2012.igem.org/Team:Cornell/Sandbox/notebook"){
if(document.location == "http://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 + 1; i++) {
+
document.getElementById("week" + i + "entry").style.display = 'block';
-
if(document.location == "http://2012.igem.org/Team:Cornell/Sandbox/notebook#" + i){
+
-
document.getElementById("week" + i + "entry").style.display = 'block';
+
-
}
+
-
}
+
}
}
}
}

Revision as of 23:29, 5 March 2013

Notebook

Filter by subteam:
show all

only
only
only
only
only
only