Team:UPO-Sevilla/header

From 2010.igem.org

(Difference between revisions)
Line 50: Line 50:
             function showMenuTeam(idListMenu){
             function showMenuTeam(idListMenu){
                 var listMenu = document.getElementById(idListMenu);
                 var listMenu = document.getElementById(idListMenu);
-
                 listMenu.setAttribute("style","display: block; position: absolute; top: 1.8em; left: 5em; width:15em; z-index:1;");
+
                 listMenu.setAttribute("style","display: block; position: absolute; top: 1.8em; left: 5em; width:14.18em; z-index:1;");
             }
             }
Line 60: Line 60:
             function showMenuBiobricks(idListMenu){
             function showMenuBiobricks(idListMenu){
                 var listMenu = document.getElementById(idListMenu);
                 var listMenu = document.getElementById(idListMenu);
-
                 listMenu.setAttribute("style","display: block; position: absolute; top: 1.8em; left: 21em; width:12em; z-index:1;");
+
                 listMenu.setAttribute("style","display: block; position: absolute; top: 1.8em; left: 21em; width:7em; z-index:1;");
             }
             }
Line 162: Line 162:
             }
             }
-
             ul.green li {
+
             ul.green_sub {
 +
                background: #E0FFAF;
 +
                border: solid 1px #BACD08;
 +
                padding: 5px;
 +
                margin: 10px auto;
 +
                list-style: none;
 +
                width: 58em;
 +
                clear: both;
 +
                position: relative;
 +
                z-index:0;
 +
            }
 +
 
 +
            ul.green_sub li, ul.green li {
                 float: left;
                 float: left;
                 display: inline; /*For ignore double margin in IE6*/
                 display: inline; /*For ignore double margin in IE6*/
Line 168: Line 180:
             }
             }
-
             ul.green li a {
+
             ul.green_sub li a, ul.green li a {
                 text-decoration: none;
                 text-decoration: none;
                 float:left;
                 float:left;
Line 176: Line 188:
             }
             }
-
             ul.green li a span {
+
             ul.green_sub li a span,ul.green li a span {
                 margin: 0 10px 0 -10px;
                 margin: 0 10px 0 -10px;
                 padding: 1px 8px 5px 18px;
                 padding: 1px 8px 5px 18px;
Line 183: Line 195:
             }
             }
-
             ul.green li a.current, ul.green li a:hover {
+
             ul.green_sub li a.current, ul.green_sub li a:hover,ul.green li a.current, ul.green li a:hover {
                 background: url(http://2010.igem.org/wiki/images/7/72/Green.png) no-repeat top right;
                 background: url(http://2010.igem.org/wiki/images/7/72/Green.png) no-repeat top right;
                 color: #576d07;
                 color: #576d07;
             }
             }
-
             ul.green li a.current span, ul.green li a:hover span {
+
             ul.green_sub li a.current span, ul.green_sub li a:hover span, ul.green li a.current span, ul.green li a:hover span {
                 background: url(http://2010.igem.org/wiki/images/7/72/Green.png) no-repeat top left;
                 background: url(http://2010.igem.org/wiki/images/7/72/Green.png) no-repeat top left;
             }
             }
Line 240: Line 252:
                     <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="showMenuTeam('teamList')" onmouseout="closeMenuTeam('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_sub" 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>
                           <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/Acknowledgments" title="Acknowledgments"><span>Acknowledgments</span></a></li>
Line 248: Line 260:
                     <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="showMenuBiobricks('biobricksList')" onmouseout="closeMenuBiobricks('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_sub" 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>
                           <li><a href="http://2010.igem.org/Team:UPO-Sevilla/Team/Devices" title="Devices"><span>Devices</span></a></li>
                           <li><a href="http://2010.igem.org/Team:UPO-Sevilla/Team/Devices" title="Devices"><span>Devices</span></a></li>

Revision as of 10:49, 10 September 2010