Template:Valencia/Menu Project
From 2008.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
<html> | <html> | ||
- | |||
<style type="text/css"> | <style type="text/css"> | ||
- | # | + | #ddmenu { |
- | + | font: 12pt "Trebuchet MS"; | |
- | + | ||
} | } | ||
- | # | + | |
- | list-style: none; | + | #ddmenu ul li { |
- | + | list-style: none; | |
+ | float: left; | ||
+ | width: 120px; | ||
+ | |||
+ | margin: 0 1px 0 1px; | ||
} | } | ||
- | # | + | |
- | display: | + | #ddmenu ul a { |
- | + | display: block; | |
- | + | width: 120px; | |
- | + | padding: 3px 0 3px 0; | |
- | + | text-align: center; | |
- | # | + | |
- | + | border: 0px solid #FFB428; | |
- | color: # | + | color:#047DB5; |
+ | background-color: #FFB428; | ||
+ | text-decoration: none; | ||
} | } | ||
- | # | + | #ddmenu ul a:hover { |
- | + | ||
- | + | ||
border:1px solid #44B4D5; | border:1px solid #44B4D5; | ||
text-decoration: none; | text-decoration: none; | ||
- | background-color:# | + | background-color:#FFD586; |
+ | font: bold 12pt "Trebuchet MS"; | ||
+ | } | ||
+ | |||
+ | #ddmenu ul .menu { | ||
+ | visibility: hidden; | ||
+ | width: 120px; | ||
+ | } | ||
+ | |||
+ | #ddmenu ul .menu a { | ||
+ | margin: 0; | ||
+ | text-align: center; | ||
+ | display: block; | ||
+ | width: 120px; | ||
+ | padding: 3px 0 3px 0; | ||
+ | float: left; | ||
+ | border: 0px solid #fff; | ||
+ | |||
+ | text-decoration: none; | ||
+ | |||
+ | color: #047DB5; | ||
+ | background-color: #FFB428; | ||
+ | } | ||
+ | #ddmenu ul .menu a:hover { | ||
+ | border:1px solid #44B4D5; | ||
+ | text-decoration: none; | ||
+ | background-color:#FFD586; | ||
font: bold 12pt "Trebuchet MS"; | font: bold 12pt "Trebuchet MS"; | ||
} | } | ||
</style> | </style> | ||
+ | <script type="text/javascript" charset="utf-8" src="http://prealfa.com/extra/ddmenu/ddmenu.js"></script> | ||
+ | |||
+ | </head> | ||
<center> | <center> | ||
- | <div id= | + | <center><div id="ddmenu"> |
- | <ul> | + | <ul> |
- | <li><a href="https://2008.igem.org/Team:Valencia/Project">Introduction</a></li> | + | <li><a href="https://2008.igem.org/Team:Valencia/Project">Introduction</a> |
- | <li><a href="https://2008.igem.org/Team:Valencia/Project/Objectives">Objectives</a></li> | + | </li> |
- | <li><a href="https://2008.igem.org/Team:Valencia/Project/ | + | <li><a href="https://2008.igem.org/Team:Valencia/Project/Objectives">Objectives</a> |
- | + | </li> | |
- | <li><a href="https://2008.igem.org/Team:Valencia/Project/Results">Results</a></li> | + | <li> |
- | </ul> | + | |
- | </div> | + | <a href="#" onclick="menuopenclose('menu1')" onblur="menuclose('menu1')">Lab work</a> |
+ | <div id="menu1" class="menu"> | ||
+ | <a href="https://2008.igem.org/Team:Valencia/Project/Lab_work">LCC contruction</a> | ||
+ | <a href="https://2008.igem.org/Team:Valencia/Project/Lab_work/2_experiments">Hot yeast experiments</a> | ||
+ | </div> | ||
+ | </li> | ||
+ | <li> | ||
+ | <a href="#" onclick="menuopenclose('menu2')" onblur="menuclose('menu2')">Modeling</a> | ||
+ | |||
+ | <div id="menu2" class="menu"> | ||
+ | <a href="http://google.com">Google</a> | ||
+ | <a href="http://example.com">Example</a> | ||
+ | <a href="http://yahoo.com">Yahoo</a> | ||
+ | </div> | ||
+ | </li> | ||
+ | <li> | ||
+ | |||
+ | <a href="https://2008.igem.org/Team:Valencia/Project/Results">Results</a> | ||
+ | |||
+ | </li> | ||
+ | </ul> | ||
+ | |||
+ | </div> | ||
</center> | </center> | ||
- | |||
- | < | + | </html> |
Revision as of 19:19, 9 October 2008