Team:Heidelberg/Gallery
From 2009.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
{{Template_HD_3}} | {{Template_HD_3}} | ||
- | <html> | + | <html> |
- | + | ||
<style type="text/css"> | <style type="text/css"> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | + | #menu {position:relative; width:600px;} | |
- | + | ||
- | } | + | |
- | + | #menu a.p1:visited, #menu a.p2:visited, #menu a.p3:visited, #menu a.p4:visited, #menu a.p5:visited, #menu a.p6:visited, #menu a.p7:visited, #menu a.p8:visited, #menu a.p9:visited {position:absolute; display:block; width:50px; height:50px; background-color:#949e7c; color:#fff; text-decoration:none;} | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | } | + | |
- | + | #menu a.p1:visited {top:0px; left:0px;} | |
- | + | #menu a.p2:visited {top:0px; left:55px;} | |
- | + | #menu a.p3:visited {top:0px; left:110px;} | |
- | } | + | #menu a.p4:visited {top:55px; left:0px;} |
- | + | #menu a.p5:visited {top:55px; left:55px;} | |
- | + | #menu a.p6:visited {top:55px; left:110px;} | |
+ | #menu a.p7:visited {top:110px; left:0px;} | ||
+ | #menu a.p8:visited {top:110px; left:55px;} | ||
+ | #menu a.p9:visited {top:110px; left:110px;} | ||
+ | #menu a.p1, #menu a.p2, #menu a.p3, #menu a.p4, #menu a.p5, #menu a.p6, #menu a.p7, #menu a.p8, #menu a.p9 {position:absolute; display:block; width:50px; height:50px; background-color:#949e7c; color:#fff; text-decoration:none;} | ||
- | + | #menu a.p1 {top:0px; left:0px; background-image: url("http://grants.nih.gov/grants/partners/NexusImages/science.jpg");} | |
- | + | #menu a.p2 {top:0px; left:55px; background-image: url("http://parts2.mit.edu/wiki/images/0/04/IGem.jpg");} | |
- | + | #menu a.p3 {top:0px; left:110px; background-image: url("http://www.bio.davidson.edu/projects/GCAT/Synthetic/Igem_from_above_cropped.jpg");} | |
+ | #menu a.p4 {top:55px; left:0px; background-image: url("http://parts.mit.edu/wiki/images/4/4c/IGEM-2006-From-Above-800w.jpg");} | ||
+ | #menu a.p5 {top:55px; left:55px; background-image: url("http://parts.mit.edu/wiki/images/4/4c/IGEM-2006-From-Above-800w.jpg");} | ||
+ | #menu a.p6 {top:55px; left:110px; background-image: url("http://parts.mit.edu/wiki/images/4/4c/IGEM-2006-From-Above-800w.jpg");} | ||
+ | #menu a.p7 {top:110px; left:0px; background-image: url("http://parts.mit.edu/wiki/images/4/4c/IGEM-2006-From-Above-800w.jpg");} | ||
+ | #menu a.p8 {top:110px; left:55px; background-image: url("http://parts.mit.edu/wiki/images/4/4c/IGEM-2006-From-Above-800w.jpg");} | ||
+ | #menu a.p9 {top:110px; left:110px; background-image: url("http://parts.mit.edu/wiki/images/4/4c/IGEM-2006-From-Above-800w.jpg");} | ||
- | |||
- | + | #menu a.p1:hover, #menu a.p2:hover, #menu a.p3:hover, #menu a.p4:hover, #menu a.p5:hover, #menu a.p6:hover, #menu a.p7:hover, #menu a.p8:hover, #menu a.p9:hover {text-decoration:none; background-color:#d4d8bd; color:#000;} | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | #menu a img {display:block; position:absolute; width:1px; height:1px; border:0px; top:0px; left:0px;} | |
- | + | #menu a.p1:hover img {display:block; position:absolute; top:0px; left:200px; width:300px; height: auto; border:0px;} | |
- | + | #menu a.p2:hover img {display:block; position:absolute; top:0px; left:145px; width:300px; height: auto; border:0px;} | |
+ | #menu a.p3:hover img {display:block; position:absolute; top:0px; left:90px; width:300px; height: auto; border:0px;} | ||
+ | #menu a.p4:hover img {display:block; position:absolute; top:-55px; left:200px; width:300px; height: auto; border:0px;} | ||
+ | #menu a.p5:hover img {display:block; position:absolute; top:-55px; left:145px; width:300px; height: auto; border:0px;} | ||
+ | #menu a.p6:hover img {display:block; position:absolute; top:-55px; left:90px; width:300px; height: auto; border:0px;} | ||
+ | #menu a.p7:hover img {display:block; position:absolute; top:-110px; left:200px; width:300px; height: auto; border:0px;} | ||
+ | #menu a.p8:hover img {display:block; position:absolute; top:-110px; left:145px; width:300px; height: auto; border:0px;} | ||
+ | #menu a.p9:hover img {display:block; position:absolute; top:-110px; left:90px; width:300px; height: auto; border:0px;} | ||
- | |||
- | |||
- | |||
- | |||
- | + | #mainimage {position:absolute; left:200px; top:0px; width:300px; border:0px;} | |
- | </ | + | |
- | + | ||
+ | </style> | ||
+ | <body id="team"> | ||
+ | <h3>iGEM Team Heidelberg: Gallery</h3> | ||
- | + | <div id="menu"> | |
- | + | <!-- das zuerst angezeigte Bild --> | |
+ | <img id="mainimage" src="http://www.bio.davidson.edu/projects/GCAT/Synthetic/Igem_from_above_cropped.jpg" /> | ||
- | < | + | <!-- alle anderen Bilder --> |
- | < | + | <a class="p1" href="#nogo"> 1<img src="http://grants.nih.gov/grants/partners/NexusImages/science.jpg"/></a> |
- | + | <a class="p2" href="#nogo"> 2<img src="http://parts2.mit.edu/wiki/images/0/04/IGem.jpg"/></a> | |
- | </ | + | <a class="p3" href="#nogo"> 3<img src="http://www.bio.davidson.edu/projects/GCAT/Synthetic/Igem_from_above_cropped.jpg"/></a> |
+ | <a class="p4" href="#nogo"> 4<img src="http://parts.mit.edu/wiki/images/4/4c/IGEM-2006-From-Above-800w.jpg"/></a> | ||
+ | <a class="p5" href="#nogo"> 5<img src="http://parts.mit.edu/wiki/images/4/4c/IGEM-2006-From-Above-800w.jpg"/></a> | ||
+ | <a class="p6" href="#nogo"> 6<img src="http://parts.mit.edu/wiki/images/4/4c/IGEM-2006-From-Above-800w.jpg"/></a> | ||
+ | <a class="p7" href="#nogo"> 7<img src="http://parts.mit.edu/wiki/images/4/4c/IGEM-2006-From-Above-800w.jpg"/></a> | ||
+ | <a class="p8" href="#nogo"> 8<img src="http://parts.mit.edu/wiki/images/4/4c/IGEM-2006-From-Above-800w.jpg"/></a> | ||
+ | </div> | ||
</body></html> | </body></html> |
Revision as of 08:10, 16 October 2009