Team:UPO-Sevilla/header

From 2010.igem.org

(Difference between revisions)
Line 48: Line 48:
             }
             }
-
             function showMenu(idListMenu){
+
             function showMenuTeam(idListMenu){
                 var listMenu = document.getElementById(idListMenu);
                 var listMenu = document.getElementById(idListMenu);
-
                 listMenu.setAttribute("style","display: block; position: relative; top: 1.8em; left: 5em; width:15em; z-index:1;");
+
                 listMenu.setAttribute("style","display: block; position: absolute; top: 1.8em; left: 5em; width:15em; z-index:1;");
             }
             }
-
             function closeMenu(idListMenu){
+
             function closeMenuTeam(idListMenu){
 +
                var listMenu = document.getElementById(idListMenu);
 +
                listMenu.setAttribute("style","display: none;");
 +
            }
 +
 
 +
            function showMenuBiobricks(idListMenu){
 +
                var listMenu = document.getElementById(idListMenu);
 +
                listMenu.setAttribute("style","display: block; position: absolute; top: 1.8em; left: 22em; width:12em; z-index:1;");
 +
            }
 +
 
 +
            function closeMenuBiobricks(idListMenu){
                 var listMenu = document.getElementById(idListMenu);
                 var listMenu = document.getElementById(idListMenu);
                 listMenu.setAttribute("style","display: none;");
                 listMenu.setAttribute("style","display: none;");
Line 229: Line 239:
                 <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 onmouseover="showMenu('teamList')" onmouseout="closeMenu('teamList')"><a id="team" href="http://2010.igem.org/Team:UPO-Sevilla/Team" title="team"><span>Team</span></a>
+
                     <li onmouseover="showMenuTeam('teamList')" onmouseout="closeMenuTeam('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;">
                       <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/Members" title="Members"><span>Members & Contact</span></a></li>
Line 237: Line 247:
                     </li>
                     </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  onmouseover="showMenu('biobricksList')" onmouseout="closeMenu('biobricksList')"><a id="parts" href="http://2010.igem.org/Team:UPO-Sevilla/Biobricks" title="Biobricks"><span>Biobricks</span></a>
+
                     <li  onmouseover="showMenuBiobricks('biobricksList')" onmouseout="closeMenuBiobricks('biobricksList')"><a id="parts" href="http://2010.igem.org/Team:UPO-Sevilla/Biobricks" title="Biobricks"><span>Biobricks</span></a>
                       <ul class="green" id="biobricksList" style="display: none;">
                       <ul class="green" id="biobricksList" style="display: none;">
                           <li><a href="http://2010.igem.org/Team:UPO-Sevilla/Team/Circuits" title="Circuits"><span>Circuits</span></a></li>
                           <li><a href="http://2010.igem.org/Team:UPO-Sevilla/Team/Circuits" title="Circuits"><span>Circuits</span></a></li>

Revision as of 10:16, 10 September 2010