Template:Freiburg2013 Template

From 2013.igem.org

(Difference between revisions)
m
m
Line 141: Line 141:
     }  
     }  
-
    #menu ul ul {  
+
  #navbar ul {  
     position: absolute;  
     position: absolute;  
     z-index: 500;  
     z-index: 500;  
     }
     }
-
     #menu ul ul ul { position: absolute; top: 10px; left: 50%; }  
+
     #navbar ul ul { position: absolute; top: 10px; left: 50%; }  
-
     div#menu ul ul,
+
     #navbar ul,
-
     div#menu ul li:hover ul ul,
+
     #navbar li:hover ul ul,
-
     div#menu ul ul li:hover ul ul
+
     #navbar ul li:hover ul ul
       {display: none;
       {display: none;
        
        
       }  
       }  
-
     div#menu ul li:hover ul,
+
     #navbar  li:hover ul,
-
     div#menu ul ul li:hover ul,
+
     #navbar ul li:hover ul,
-
     div#menu ul ul ul li:hover ul
+
     #navbar ul ul li:hover ul
       {display: block;}  
       {display: block;}  
Line 199: Line 199:
-
<script>
+
 
-
sfHover = function()
+
-
{
+
-
  var sfEls = document.getElementById("navbar").getElementsByTagName("li");
+
-
  for (var i=0; i<sfEls.length; i++)
+
-
      {
+
-
          sfEls[i].onmouseover=function()
+
-
          {
+
-
              this.className+=" hover";
+
-
          }
+
-
          sfEls[i].onmouseout=function()
+
-
          {
+
-
              this.className=this.className.replace(new RegExp(" hover\\b"), "");
+
-
          }
+
-
      }
+
-
}
+
-
if (window.attachEvent) window.attachEvent("onload", sfHover);
+
-
</script>
+
</head>
</head>
Line 232: Line 215:
         <li><img src="https://static.igem.org/mediawiki/igem.org/d/de/IGEM_basic_Logo_stylized.png" width="100%";/><a href="https://2013.igem.org/Team:Freiburg">Home</a>
         <li><img src="https://static.igem.org/mediawiki/igem.org/d/de/IGEM_basic_Logo_stylized.png" width="100%";/><a href="https://2013.igem.org/Team:Freiburg">Home</a>
         </li>
         </li>
-
         <li><img src="https://static.igem.org/mediawiki/igem.org/d/de/IGEM_basic_Logo_stylized.png" width="100%";/><a href="https://2013.igem.org/Team:Freiburg/Team">Team</a>
+
         <li><a href="https://2013.igem.org/Team:Freiburg/Team">Team</a><img src="https://static.igem.org/mediawiki/igem.org/d/de/IGEM_basic_Logo_stylized.png" width="100%";/>
         <ul>
         <ul>
               <li><a href="https://2013.igem.org/Team:Freiburg/Team2">Members</a></li>
               <li><a href="https://2013.igem.org/Team:Freiburg/Team2">Members</a></li>

Revision as of 22:08, 25 June 2013