Template:Template HD2010 keyheader
From 2010.igem.org
(Difference between revisions)
Line 13: | Line 13: | ||
/--> | /--> | ||
+ | |||
+ | <head> | ||
<style type="text/css"> | <style type="text/css"> | ||
Line 20: | Line 22: | ||
background-color:transparent;} | background-color:transparent;} | ||
+ | |||
#header { | #header { | ||
position: absolute; | position: absolute; | ||
Line 39: | Line 42: | ||
#nav li a:hover { color:#f09600; } | #nav li a:hover { color:#f09600; } | ||
#nav li a:active { color:#f09600;} | #nav li a:active { color:#f09600;} | ||
+ | .menutable { | ||
+ | display:none; | ||
+ | border-style:none; | ||
+ | position: absolute; | ||
+ | z-index:5; | ||
+ | top: 15px; | ||
+ | left: -26px; | ||
+ | padding:0px; | ||
+ | margin:0px; | ||
+ | list-style: none; | ||
+ | border-spacing:0; | ||
+ | border-style:none; | ||
+ | background-color:transparent; | ||
+ | } | ||
+ | |||
+ | |||
#nav li ul { | #nav li ul { | ||
- | display: none | + | display:none;} |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
#menu_home {margin-right:-99px; } | #menu_home {margin-right:-99px; } | ||
- | |||
- | |||
#menu_team {margin-right:-103px; } | #menu_team {margin-right:-103px; } | ||
- | |||
- | |||
#menu_project {margin-right:-91px; } | #menu_project {margin-right:-91px; } | ||
- | + | #menu_parts {margin-right:-109px; } | |
- | + | ||
- | #menu_parts {margin-right:- | + | |
- | + | ||
- | + | ||
#menu_modeling {margin-right:-75px; } | #menu_modeling {margin-right:-75px; } | ||
- | # | + | #menu_notebook {margin-right:-69px; } |
- | + | #menu_human_practices {margin-right:-26px; } | |
- | # | + | #menu_sponsors {margin-right:-105px; } |
- | # | + | #nav li:hover table, li.over table { display: block; } |
- | + | .lefttd { | |
- | + | background: url(http://igem.bioquant.uni-heidelberg.de/mediawiki/images/2/2c/Header_team_popup_bulge_w_left.png) no-repeat top left; | |
- | + | height:146px; | |
- | + | padding-left:30px; | |
- | + | padding-right:5px; | |
+ | line-height:1em; | ||
+ | } | ||
+ | |||
+ | .righttd { | ||
+ | width:34px; | ||
+ | height:146px; | ||
+ | padding:0; | ||
+ | background: url(http://igem.bioquant.uni-heidelberg.de/mediawiki/images/a/ab/Header_team_popup_bulge_w_right.png); | ||
+ | } | ||
+ | |||
+ | body#home #menu_home a, | ||
+ | body#team .ateam a, | ||
+ | body#project #menu_project a, | ||
+ | body#notebook #menu_parts a, | ||
+ | body#modeling #menu_modeling a, | ||
+ | body#sponsors #menu_notebook a, | ||
+ | body#humanprac #menu_human_practices a, | ||
+ | body#parts #menu_sponsors a | ||
+ | { color:#00a5ea; <!--cursor: default;--> } | ||
- | |||
</style> | </style> | ||
Line 95: | Line 119: | ||
window.onload=startList; | window.onload=startList; | ||
</script> | </script> | ||
+ | </head> | ||
<body> | <body> | ||
+ | <!--[if IE]> | ||
+ | <style type="text/css"> | ||
+ | |||
+ | </style> | ||
+ | <![endif]--> | ||
<div id="header"> | <div id="header"> | ||
Line 102: | Line 132: | ||
<ul id="nav"> | <ul id="nav"> | ||
<li id="menu_home"><a href="">Home</a> | <li id="menu_home"><a href="">Home</a> | ||
- | + | <table class="menutable" cellpadding="0" cellspacing="0"> | |
- | + | <tr> | |
- | + | <td class="lefttd"> | |
- | + | <a href="">test</a><br> | |
- | + | <a href="">test</a><br> | |
- | </ | + | <a href="">test</a><br> |
- | </ | + | </td> |
+ | <td class="righttd"> </td> | ||
+ | </tr> | ||
+ | </table> | ||
- | <li id="menu_team"><a href="">Team</a> | + | </li> |
- | + | ||
- | + | <li id="menu_team"><a class="ateam" href="">Team</a> | |
- | + | <table class="menutable" cellpadding="0" cellspacing="0"> | |
- | + | <tr> | |
- | + | <td class="lefttd"> | |
+ | <a href="">test</a><br> | ||
+ | <a href="">testtesttest</a><br> | ||
+ | <a href="">test</a><br> | ||
+ | </td> | ||
+ | <td class="righttd"> </td> | ||
+ | </tr> | ||
+ | </table> | ||
</li> | </li> | ||
<li id="menu_project"><a href="">Project</a> | <li id="menu_project"><a href="">Project</a> | ||
- | + | <table class="menutable" cellpadding="0" cellspacing="0"> | |
- | + | <tr> | |
- | + | <td class="lefttd"> | |
- | + | <a href="">test</a><br> | |
- | + | <a href="">test</a><br> | |
- | + | <a href="">test</a><br> | |
- | + | </td> | |
+ | <td class="righttd"> </td> | ||
+ | </tr> | ||
+ | </table> | ||
</li> | </li> | ||
<li id="menu_parts"><a href="">Parts</a> | <li id="menu_parts"><a href="">Parts</a> | ||
- | + | <table class="menutable" cellpadding="0" cellspacing="0"> | |
- | + | <tr> | |
- | + | <td class="lefttd"> | |
- | + | <a href="">test</a><br> | |
- | + | <a href="">test</a><br> | |
- | + | <a href="">test</a><br> | |
+ | </td> | ||
+ | <td class="righttd"> </td> | ||
+ | </tr> | ||
+ | </table> | ||
</li> | </li> | ||
<li id="menu_modeling"><a href="">Modeling</a> | <li id="menu_modeling"><a href="">Modeling</a> | ||
- | + | <table class="menutable" cellpadding="0" cellspacing="0"> | |
- | + | <tr> | |
- | + | <td class="lefttd"> | |
- | + | <a href="">test</a><br> | |
- | + | <a href="">test</a><br> | |
- | + | <a href="">test</a><br> | |
+ | </td> | ||
+ | <td class="righttd"> </td> | ||
+ | </tr> | ||
+ | </table> | ||
</li> | </li> | ||
<li id="menu_notebook"><a href="">Notebook</a> | <li id="menu_notebook"><a href="">Notebook</a> | ||
- | + | <table class="menutable" cellpadding="0" cellspacing="0"> | |
- | + | <tr> | |
- | + | <td class="lefttd"> | |
- | + | <a href="">test</a><br> | |
- | + | <a href="">test</a><br> | |
+ | <a href="">test</a><br> | ||
+ | </td> | ||
+ | <td class="righttd"> </td> | ||
+ | </tr> | ||
+ | </table> | ||
</li> | </li> | ||
<li id="menu_human_practices"><a href="">Human Practices</a> | <li id="menu_human_practices"><a href="">Human Practices</a> | ||
- | + | <table class="menutable" cellpadding="0" cellspacing="0"> | |
- | + | <tr> | |
- | + | <td class="lefttd"> | |
- | + | <a href="">test</a><br> | |
- | + | <a href="">test</a><br> | |
+ | <a href="">test</a><br> | ||
+ | </td> | ||
+ | <td class="righttd"> </td> | ||
+ | </tr> | ||
+ | </table> | ||
</li> | </li> | ||
<li id="menu_sponsors"><a href="">Sponsors</a> | <li id="menu_sponsors"><a href="">Sponsors</a> | ||
- | + | <table class="menutable" cellpadding="0" cellspacing="0"> | |
- | + | <tr> | |
- | + | <td class="lefttd"> | |
- | + | <a href="">test</a><br> | |
- | + | <a href="">test</a><br> | |
+ | <a href="">test</a><br> | ||
+ | </td> | ||
+ | <td class="righttd"> </td> | ||
+ | </tr> | ||
+ | </table> | ||
</li> | </li> | ||
</ul> | </ul> | ||
Line 174: | Line 240: | ||
</div> | </div> | ||
</body> | </body> | ||
+ | |||
</html> | </html> |
Revision as of 18:24, 21 September 2010