Team:UPO-Sevilla/header

From 2010.igem.org

(Difference between revisions)
Line 56: Line 56:
                 var listMenu = document.getElementById(idListMenu);
                 var listMenu = document.getElementById(idListMenu);
                 listMenu.setAttribute("style","display: none;");
                 listMenu.setAttribute("style","display: none;");
 +
            }
 +
 +
          function showMenuProject(idListMenu){
 +
                var listMenu = document.getElementById(idListMenu);
 +
                listMenu.setAttribute("style","display: block; position: absolute; top: 1.8em; left: 13.5em; width:9em; z-index:1;");
             }
             }
 +
            function closeMenuProject(idListMenu){
 +
                var listMenu = document.getElementById(idListMenu);
 +
                listMenu.setAttribute("style","display: none;");
 +
            }
             function showMenuBiobricks(idListMenu){
             function showMenuBiobricks(idListMenu){
                 var listMenu = document.getElementById(idListMenu);
                 var listMenu = document.getElementById(idListMenu);
Line 308: Line 317:
                       </ul>
                       </ul>
                     </li>
                     </li>
-
                     <li><a id="project" href="https://2010.igem.org/Team:UPO-Sevilla/Project" title="Project"><span>Project</span></a></li>
+
                     <li onmouseover="showMenuProject('projectList')" onmouseout="closeMenuProject('projectList')"><a id="project" href="https://2010.igem.org/Team:UPO-Sevilla/Project" title="Project"><span>Project</span></a>
-
                     <li onmouseover="showMenuBiobricks('biobricksList')" onmouseout="closeMenuBiobricks('biobricksList')"><a id="parts" href="https://2010.igem.org/Team:UPO-Sevilla/Biobricks" title="Biobricks"><span>Biobricks</span></a>
+
                      <ul class="green_sub" id="projectList" style="display: none;">
 +
                          <li><a href="https://2010.igem.org/Team:UPO-Sevilla/Project/Abstract" title="Abstract"><span>Abstract</span></a></li>
 +
                          <li><a href="https://2010.igem.org/Team:UPO-Sevilla/Project/Chemotaxis" title="Chemotaxis"><span>Chemotaxis</span></a></li>
 +
                          <li><a href="https://2010.igem.org/Team:UPO-Sevilla/Project/Sensing" title="Sensing"><span>Sensing</span></a></li>
 +
                      </ul>
 +
                    </li>
 +
                     <li onmouseover="showMenuBiobricks('biobricksList')" onmouseout="closeMenuBiobricks('biobricksList')"><a id="parts" href="https://2010.igem.org/Team:UPO-Sevilla/Biobricks" title="Biobricks"><span>Biobricks</span></a>
                       <ul class="green_sub" id="biobricksList" style="display: none;">
                       <ul class="green_sub" id="biobricksList" style="display: none;">
                           <li><a href="https://2010.igem.org/Team:UPO-Sevilla/Biobricks/Circuits" title="Circuits"><span>Circuits</span></a></li>
                           <li><a href="https://2010.igem.org/Team:UPO-Sevilla/Biobricks/Circuits" title="Circuits"><span>Circuits</span></a></li>

Revision as of 21:01, 5 October 2010