Team:Evry/template notebook
From 2012.igem.org
(Difference between revisions)
(46 intermediate revisions not shown) | |||
Line 8: | Line 8: | ||
<table> | <table> | ||
<tr> | <tr> | ||
- | + | <th colspan="3" align="center" class="green" > June </th> | |
- | + | <th colspan="4" align="center" class="orange"> July </th> | |
- | + | <th colspan="4" align="center" class="green"> August </th> | |
- | + | <th colspan="4" align="center" class="orange"> September </th> | |
- | + | <th colspan="4" align="center" class="green"> October </th> | |
- | + | <th colspan="3" align="center" class="orange"> November </th> | |
- | + | </tr> | |
- | + | <tr> | |
- | + | <script type="text/javascript"> | |
- | + | var sPath = window.location.pathname; | |
- | + | var sPage = sPath.substring(sPath.lastIndexOf('/') + 2); | |
- | + | ||
- | + | var i; | |
- | + | var col; | |
- | + | ||
- | + | for (i=1; i <= 22; ++i) | |
- | + | { | |
- | + | if (i == sPage) | |
- | + | { | |
- | + | document.write("<td>" + i); | |
- | + | } | |
- | < | + | else |
+ | { | ||
+ | if (i in {1:1 ,2:1 ,3:1 ,8:1 ,9:1 ,10:1 ,11:1 ,12:1 ,17:1 ,18:1 ,19:1 ,20:1}) { col="green"; } | ||
+ | else { col="orange"; } | ||
+ | |||
+ | document.write("<td><a class=\"" + col + "\" href=\"https://2012.igem.org/Team:Evry/Notebook/w" + i + "\" >" + i + "</a>"); | ||
+ | } | ||
+ | } | ||
+ | </script> | ||
</tr> | </tr> | ||
</table> | </table> |
Latest revision as of 16:04, 8 September 2012
Weeks:
June | July | August | September | October | November | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|