Team:Freiburg/Templates/header

From 2011.igem.org

(Difference between revisions)
Line 17: Line 17:
   var id = 'sub-'+ url;
   var id = 'sub-'+ url;
   var sbmenus= ['sub-team','sub-project', 'sub-home', 'sub-gallery', 'sub-sponsors'];
   var sbmenus= ['sub-team','sub-project', 'sub-home', 'sub-gallery', 'sub-sponsors'];
-
   var smList = ["sub-members#sub-attributions#sub-freiburg", "sub-overview#sub-motivation#sub-description#sub-results#sub-modelling#sub-notebook#sub-safety", "", "", ""];
+
   var smList = ["members#attributions#freiburg", "overview#motivation#description#results#modelling#notebook#safety", "", "", ""];
   for (var i = 0; i < smList.length; i++){
   for (var i = 0; i < smList.length; i++){
-
     if (smList[i].search(id) >= 0){
+
     if (smList[i].search(url) >= 0){
 +
        alert(sbmenus[i]);
         id = sbmenus[i];
         id = sbmenus[i];
     }
     }
Line 313: Line 314:
<ul class="sub2" id="sub-team" display="none">
<ul class="sub2" id="sub-team" display="none">
                             <li class="sub2"><a href="#"> <span class="blue"> &rarr; </span>members</a></li>
                             <li class="sub2"><a href="#"> <span class="blue"> &rarr; </span>members</a></li>
-
                             <li id="sub-attributions" class="sub2"><a href="https://2011.igem.org/Team:Freiburg/Attributions"> <span class="blue"> &rarr; </span>attributions</a></li>
+
                             <li id="attributions" class="sub2"><a href="https://2011.igem.org/Team:Freiburg/Attributions"> <span class="blue"> &rarr; </span>attributions</a></li>
                             <li class="sub2"><a href="#"> <span class="blue"> &rarr; </span>freiburg</a></li>
                             <li class="sub2"><a href="#"> <span class="blue"> &rarr; </span>freiburg</a></li>
                         </ul>
                         </ul>
Line 324: Line 325:
                             <li class="sub2"><a href="#"><span class="blue"> &rarr; </span>results</a></li>
                             <li class="sub2"><a href="#"><span class="blue"> &rarr; </span>results</a></li>
                             <li class="sub2"><a href="#"><span class="blue"> &rarr; </span>modelling</a></li>
                             <li class="sub2"><a href="#"><span class="blue"> &rarr; </span>modelling</a></li>
-
                             <li id = "sub-notebook" class="sub2"><a href="https://2011.igem.org/Team:Freiburg/Notebook"><span class="blue"> &rarr; </span>notebook</a></li>
+
                             <li id = "notebook" class="sub2"><a href="https://2011.igem.org/Team:Freiburg/Notebook"><span class="blue"> &rarr; </span>notebook</a></li>
                             <li class="sub2"><a href="#"><span class="blue"> &rarr; </span>safety</a></li>
                             <li class="sub2"><a href="#"><span class="blue"> &rarr; </span>safety</a></li>
                         </ul> </li>
                         </ul> </li>

Revision as of 15:47, 14 July 2011


This is the wiki page
of the Freiburger student
team competing for iGEM 2011.
Thank you for your interest!