Team:UC Davis/main.html
From 2010.igem.org
(Difference between revisions)
Skatercomet (Talk | contribs) |
Skatercomet (Talk | contribs) |
||
Line 1: | Line 1: | ||
+ | <html> | ||
+ | <head> | ||
+ | |||
+ | <script text="javascript"> | ||
+ | /*Function to change pictures on hover*/ | ||
+ | function changePic(picName, newPic) | ||
+ | { | ||
+ | document[picName].src = newPic; | ||
+ | } | ||
+ | </script> | ||
+ | |||
+ | <style> | ||
+ | |||
+ | div.Menu a{color:#FDD017; font-family: Verdana, sans serif; text-decoration: none} | ||
+ | |||
+ | ul#Navigation{ | ||
+ | float:left; | ||
+ | width:100%; | ||
+ | margin:0; | ||
+ | padding-left:75px; | ||
+ | border:0; | ||
+ | list-style-type:none; | ||
+ | position: relative; | ||
+ | } | ||
+ | |||
+ | |||
+ | ul#Navigation li{ | ||
+ | width:auto; | ||
+ | background: transparent; | ||
+ | padding-right:5px; | ||
+ | padding-left:5px; | ||
+ | padding-top:2px; | ||
+ | padding-bottom:2px; | ||
+ | display:inline; | ||
+ | position:relative; | ||
+ | } | ||
+ | |||
+ | |||
+ | #Navigation li ul{ | ||
+ | display:none; | ||
+ | position: absolute; | ||
+ | width: 140px; | ||
+ | list-style:none; | ||
+ | left:-1px; | ||
+ | height:100%; | ||
+ | top:31px; | ||
+ | } | ||
+ | |||
+ | #Navigation li:hover ul, | ||
+ | #Navigation li:active ul{ | ||
+ | display:block; | ||
+ | } | ||
+ | |||
+ | #Navigation li ul li{ | ||
+ | width:100%; | ||
+ | display:block; | ||
+ | padding: 0px 0px 0px 5px; | ||
+ | background-color:#000; | ||
+ | margin:-1px; | ||
+ | list-style:none; | ||
+ | } | ||
+ | |||
+ | #Navigation li ul:hover{ | ||
+ | display:block; | ||
+ | } | ||
+ | |||
+ | </style> | ||
+ | </head> | ||
+ | |||
+ | <body> | ||
+ | <div> | ||
+ | <table border="0" margin="0" width="1000px" padding:0 margin:0> | ||
+ | <tr> | ||
+ | <td> | ||
+ | <img src="/wiki/images/4/41/Gbanner.jpg" name="rotatingPic"> | ||
+ | </td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td width="100%"> | ||
+ | <div class="Menu"> | ||
+ | <ul id="Navigation" style="padding-top:0px, align:center"> | ||
+ | <a href="/Team:UC_Davis" onmouseover="changePic('homeNav', '/wiki/images/4/4b/Buttonhome5x.jpg')" onmouseout="changePic('homeNav', '/wiki/images/4/47/Buttonhome5.jpg')"><li><img name="homeNav" src="/wiki/images/4/47/Buttonhome5.jpg"></li></a> | ||
+ | |||
+ | <a href="/Team:UC_Davis" onmouseover="changePic('rotatingPic','/wiki/images/4/41/Gbanner.jpg')" onmouseout="changePic('rotatingPic', '/wiki/images/4/41/Gbanner.jpg')"><li><img src="/wiki/images/4/47/Buttonhome5.jpg"></li></a> | ||
+ | |||
+ | <a href="/Team:UC_Davis"><li><img src="/wiki/images/e/ea/Buttonproject5.jpg"></li></a> | ||
+ | <a href="/Team:UC_Davis"><li><img src="/wiki/images/8/86/Buttonnotebook5.jpg"></li></a> | ||
+ | <a href="/Team:UC_Davis"><li><img src="/wiki/images/9/9a/Buttonmodeling5.jpg"></li></a> | ||
+ | |||
+ | <a href="/Team:UC_Davis" onmouseover="changePic('rotatingPic','/wiki/images/a/ab/Gbannerp.jpg'), changePic('teamNav', '/wiki/images/3/31/Buttonteam5x.jpg')" onmouseout="changePic('rotatingPic', '/wiki/images/4/41/Gbanner.jpg'), changePic('teamNav', '/wiki/images/8/88/Buttonteam5.jpg')"> | ||
+ | <li><img name="teamNav" src="/wiki/images/8/88/Buttonteam5.jpg"><ul class="DropDown"> | ||
+ | <li>Tim Fenton</li> | ||
+ | <li>Keegan Owsley</li> | ||
+ | <li>Holly Lam</li> | ||
+ | <li>Arjun Nair</li> | ||
+ | <li>Jennifer Lau</li> | ||
+ | <li>JT Mixmaster Deluxe</li> | ||
+ | </ul></li></a> | ||
+ | |||
+ | <a href="/Team:UC_Davis"><li style="padding-right:13%"><img src="/wiki/images/d/d1/Buttonsafety5.jpg"></li></a> | ||
+ | </ul> | ||
+ | |||
+ | |||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | </div> | ||
+ | </div> | ||
+ | </html> | ||
+ | |||
+ | |||
<!-- | <!-- | ||
<html> | <html> |
Revision as of 10:41, 19 July 2010
![]() |
|