Team:Evry/template notebook

From 2012.igem.org

(Difference between revisions)
 
(43 intermediate revisions not shown)
Line 7: Line 7:
<center>
<center>
<table>
<table>
 +
<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>
<tr>
<script type="text/javascript">
<script type="text/javascript">
Line 13: Line 21:
var i;
var i;
-
for (i=0; i<22; ++i)
+
var col;
 +
 
 +
for (i=1; i <= 22; ++i)
{
{
   if (i == sPage)
   if (i == sPage)
Line 21: Line 31:
   else
   else
   {
   {
-
     document.write("<td><a href=\"https://2012.igem.org/Team:Evry/Notebook/w" + i + "\">" + i + "</a>");
+
     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>");    
   }
   }
}
}

Latest revision as of 16:04, 8 September 2012

Weeks:

June July August September October November