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.href); | ||
for(int i = 0; i<num; i++) { | for(int i = 0; i<num; i++) { | ||
if(document.location.href == "https://2012.igem.org/Team:Cornell/Sandbox/notebook#" + i){ | if(document.location.href == "https://2012.igem.org/Team:Cornell/Sandbox/notebook#" + i){ | ||
- | alert(document.location.href); | + | alert(document.location.href + "hello"); |
document.getElementById("week" + i + "entry").style.display = 'block'; | document.getElementById("week" + i + "entry").style.display = 'block'; | ||
} | } |
Revision as of 22:59, 5 March 2013