Team:Evry/template notebook
From 2012.igem.org
(Difference between revisions)
Line 23: | Line 23: | ||
var col; | var col; | ||
for (i=1; i <= 22; ++i) | for (i=1; i <= 22; ++i) | ||
- | { | + | { 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";document.write("on est en"+i);} |
+ | |||
+ | else { col="blue"; } | ||
if (i == sPage) | if (i == sPage) | ||
{ | { | ||
Line 30: | Line 32: | ||
else | else | ||
{ | { | ||
- | + | ||
- | + | ||
- | + | ||
document.write("<td><a class=\"" + col + "\" href=\"https://2012.igem.org/Team:Evry/Notebook/w" + i + "\">" + i + "</a>"); | document.write("<td><a class=\"" + col + "\" href=\"https://2012.igem.org/Team:Evry/Notebook/w" + i + "\">" + i + "</a>"); | ||
} | } |
Revision as of 14:25, 23 August 2012
Weeks:
June | July | August | September | October | November | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|