Team:Freiburg/Templates/header

From 2011.igem.org

(Difference between revisions)
Line 33: Line 33:
function hideSubmenu( elem ){
function hideSubmenu( elem ){
  var submenus= ['sub-team','sub-project', 'sub-home', 'sub-gallery', 'sub-sponsors'];
  var submenus= ['sub-team','sub-project', 'sub-home', 'sub-gallery', 'sub-sponsors'];
-
 
+
var smList = "sub-members#sub-attributions#sub-freiburg";
 +
if (smList.search(elem) >= 0){
 +
  alert("da");
 +
}
  for( var i=0; i<submenus.length; i++){
  for( var i=0; i<submenus.length; i++){
   if (elem == 'none'){
   if (elem == 'none'){
Line 305: Line 308:
<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="attributions" class="sub2"><a href="https://2011.igem.org/Team:Freiburg/Attributions"> <span class="blue"> &rarr; </span>attributions</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 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 316: Line 319:
                             <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 = "notebook" class="sub2"><a href="https://2011.igem.org/Team:Freiburg/Notebook"><span class="blue"> &rarr; </span>notebook</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 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:31, 14 July 2011


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