Team:Cornell/Sandbox/notebook
From 2012.igem.org
(Difference between revisions)
R.Lizarralde (Talk | contribs) |
R.Lizarralde (Talk | contribs) |
||
Line 7: | Line 7: | ||
<script> | <script> | ||
function load() { | function load() { | ||
- | alert(hello); | + | alert("hello"); |
- | + | if(document.location == "https://2012.igem.org/Team:Cornell/Sandbox/notebook"){ | |
+ | document.getElementById("week1entry").style.display = 'block'; | ||
+ | } | ||
+ | else { | ||
+ | var i = document.location.charAt(51); | ||
+ | alert(var); | ||
+ | |||
+ | document.getElementById("week" + i + "entry").style.display = 'block'; | ||
+ | } | ||
} | } | ||
</script> | </script> |
Revision as of 23:42, 5 March 2013