Team:Cornell/Sandbox/notebook
From 2012.igem.org
(Difference between revisions)
R.Lizarralde (Talk | contribs) |
R.Lizarralde (Talk | contribs) |
||
Line 8: | Line 8: | ||
function load() { | function load() { | ||
var num = 3; | var num = 3; | ||
- | alert(document.location | + | alert(document.location); |
for(int i = 0; i<num; i++) { | for(int i = 0; i<num; i++) { | ||
- | if(document.location | + | if(document.location == "https://2012.igem.org/Team:Cornell/Sandbox/notebook#" + i){ |
- | alert(document.location | + | alert(document.location + "hello"); |
document.getElementById("week" + i + "entry").style.display = 'block'; | document.getElementById("week" + i + "entry").style.display = 'block'; | ||
} | } |
Revision as of 23:00, 5 March 2013