Team:Evry/template notebook

From 2012.igem.org

(Difference between revisions)
 
(47 intermediate revisions not shown)
Line 5: Line 5:
<h1>Weeks:</h1>
<h1>Weeks:</h1>
 +
<center>
<table>
<table>
<tr>
<tr>
-
  <td><a href="https://2012.igem.org/Team:Evry/Notebook/w1">1</a>
+
<th  colspan="3" align="center" class="green" > June  </th>
-
  <td><a href="https://2012.igem.org/Team:Evry/Notebook/w2">2</a>
+
<th colspan="4" align="center" class="orange"> July  </th>
-
  <td><a href="https://2012.igem.org/Team:Evry/Notebook/w3">3</a>
+
<th colspan="4" align="center" class="green"> August  </th>
-
  <td><a href="https://2012.igem.org/Team:Evry/Notebook/w4">4</a>
+
<th colspan="4" align="center" class="orange"> September </th>
-
  <td><a href="https://2012.igem.org/Team:Evry/Notebook/w5">5</a>
+
<th colspan="4" align="center" class="green"> October </th>
-
  <td><a href="https://2012.igem.org/Team:Evry/Notebook/w6">6</a>
+
<th colspan="3" align="center" class="orange"> November </th>
-
  <td><a href="https://2012.igem.org/Team:Evry/Notebook/w7">7</a>
+
</tr>
-
  <td><a href="https://2012.igem.org/Team:Evry/Notebook/w8">8</a>
+
<tr>
-
  <td><a href="https://2012.igem.org/Team:Evry/Notebook/w9">9</a>
+
<script type="text/javascript">
-
  <td><a href="https://2012.igem.org/Team:Evry/Notebook/w10">10</a>
+
var sPath = window.location.pathname;
-
  <td><a href="https://2012.igem.org/Team:Evry/Notebook/w11">11</a>
+
var sPage = sPath.substring(sPath.lastIndexOf('/') + 2);
-
  <td><a href="https://2012.igem.org/Team:Evry/Notebook/w12">12</a>
+
 
-
  <td><a href="https://2012.igem.org/Team:Evry/Notebook/w13">13</a>
+
var i;
-
  <td><a href="https://2012.igem.org/Team:Evry/Notebook/w14">14</a>
+
var col;
-
  <td><a href="https://2012.igem.org/Team:Evry/Notebook/w15">15</a>
+
 
-
  <td><a href="https://2012.igem.org/Team:Evry/Notebook/w16">16</a>
+
for (i=1; i <= 22; ++i)
-
   <td><a href="https://2012.igem.org/Team:Evry/Notebook/w17">17</a>
+
{
-
   <td><a href="https://2012.igem.org/Team:Evry/Notebook/w18">18</a>
+
   if (i == sPage)
-
  <td><a href="https://2012.igem.org/Team:Evry/Notebook/w19">19</a>
+
  {
-
  <td><a href="https://2012.igem.org/Team:Evry/Notebook/w20">20</a>
+
    document.write("<td>" + i);
-
  <td><a href="https://2012.igem.org/Team:Evry/Notebook/w21">21</a>
+
   }
-
   <td><a href="https://2012.igem.org/Team:Evry/Notebook/w22">22</a>
+
  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>
 +
</center>
</html>
</html>

Latest revision as of 16:04, 8 September 2012

Weeks:

June July August September October November