Team:UPO-Sevilla/header

From 2010.igem.org

(Difference between revisions)
Line 46: Line 46:
                 twitter.removeChild(script2);
                 twitter.removeChild(script2);
 +
            }
 +
 +
            function showMenu(idListMenu){
 +
                var listMenu = document.getElementById(idListMenu);
 +
                listMenu.setAttribute("style","display: block; position: absolute; top: 1.1em; width:15em; z-index:2;");
 +
            }
 +
 +
            function closeMenu(idListMenu){
 +
                var listMenu = document.getElementById(idListMenu);
 +
                listMenu.setAttribute("style","display: none;");
             }
             }
             -->
             -->
Line 139: Line 149:
                 width: 53em;
                 width: 53em;
                 clear: both;
                 clear: both;
 +
                position: relative;
 +
                z-index:1;
             }
             }
Line 218: Line 230:
                 <ul class="green">
                 <ul class="green">
                     <li><a id="home" href="http://2010.igem.org/Team:UPO-Sevilla" title="home"><span>Home</span></a></li>
                     <li><a id="home" href="http://2010.igem.org/Team:UPO-Sevilla" title="home"><span>Home</span></a></li>
-
                     <li><a id="team" href="http://2010.igem.org/Team:UPO-Sevilla/Team" title="team"><span>Team</span></a></li>
+
                     <li onmouseover="showMenu('teamList')" onmouseout="closeMenu('teamList')"><a id="team" href="http://2010.igem.org/Team:UPO-Sevilla/Team" title="team"><span>Team</span></a>
 +
                      <ul class="green" id="teamList" style="display: none;">
 +
                          <li><a href="http://2010.igem.org/Team:UPO-Sevilla/Team/Members" title="Members"><span>Members & Contact</span></a></li>
 +
                          <li><a href="http://2010.igem.org/Team:UPO-Sevilla/Team/Acknowledgments" title="Acknowledgments"><span>Acknowledgments</span></a></li>
 +
                          <li><a href="http://2010.igem.org/Team:UPO-Sevilla/Team/Gallery" title="Gallery"><span>Gallery</span></a></li>
 +
                      </ul>
 +
                    </li>
                     <li><a id="project" href="http://2010.igem.org/Team:UPO-Sevilla/Project" title="Project"><span>Project</span></a></li>
                     <li><a id="project" href="http://2010.igem.org/Team:UPO-Sevilla/Project" title="Project"><span>Project</span></a></li>
                     <li><a id="parts" href="http://2010.igem.org/Team:UPO-Sevilla/Parts" title="Parts"><span>Parts</span></a></li>
                     <li><a id="parts" href="http://2010.igem.org/Team:UPO-Sevilla/Parts" title="Parts"><span>Parts</span></a></li>

Revision as of 15:38, 2 September 2010