Team:Cornell/Sandbox/notebook

From 2012.igem.org

(Difference between revisions)
Line 11: Line 11:
<script type="text/javascript">
<script type="text/javascript">
function load() {
function load() {
-
var i = 1;
 
if(document.location != "https://2012.igem.org/Team:Cornell/Sandbox/notebook") {
if(document.location != "https://2012.igem.org/Team:Cornell/Sandbox/notebook") {
var i = document.location.href.charAt(51);
var i = document.location.href.charAt(51);
 +
document.getElementById('week' + i + 'entry').style.display = 'block';
 +
document.getElementById('week1').className = '';
 +
document.getElementById('week' + i ).className = 'active';
}
}
-
if(i != 1) document.getElementById('week' + i + 'entry').style.display = 'block';
 
-
document.getElementById('week' + i ).className = 'active';
 
-
if(i != 1) document.getElementById('week1').className = '';
 
}
}
function filter(that) {
function filter(that) {
Line 78: Line 77:
}
}
var filt = that.id + "entry";
var filt = that.id + "entry";
-
var all = document.getElementsByClassName("week");
+
var all = document.getElementsByClassName('nb-week');
for(var i = 0; i<all.length; i++) {
for(var i = 0; i<all.length; i++) {
-
all[i].style.display = "none";
+
all[i].style.display = 'none';
}
}
-
document.getElementById(filt).style.display = "block";
+
document.getElementById(filt).style.display = 'block';
}
}
</script>
</script>

Revision as of 22:14, 6 March 2013

Notebook

Filter by subteam:
show all

only
only
only
only
only
only

Week 1

WetTest

DryTest

ModelTest

HPracTest

WikiTest

AnimTest

Week 2

WikiTest

Week 3

AnimTest