Team:Cornell/Sandbox/notebook
From 2012.igem.org
(Difference between revisions)
R.Lizarralde (Talk | contribs) |
R.Lizarralde (Talk | contribs) |
||
Line 6: | Line 6: | ||
<html class="no-js" lang="en"> | <html class="no-js" lang="en"> | ||
<script> | <script> | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
</script> | </script> | ||
<body onload="load()"> | <body onload="load()"> | ||
- | <script type="text/javascript"> | + | <script type="text/javascript"> |
+ | function load() { | ||
+ | if(document.location == "https://2012.igem.org/Team:Cornell/Sandbox/notebook"){ | ||
+ | document.getElementById("week1entry").style.display = 'block'; | ||
+ | } | ||
+ | else { | ||
+ | var i = document.location.href.charAt(51); | ||
+ | document.getElementById("week" + i + "entry").style.display = 'block'; | ||
+ | } | ||
+ | } | ||
function filter(that) { | function filter(that) { | ||
var ele = that.children[1]; | var ele = that.children[1]; |
Revision as of 00:00, 6 March 2013