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">https://2010.igem.org/wiki/index.php?title=Template:Team:UC_Davis/Head&action=edit | ||
+ | /*Function to change pictures on hover*/ | ||
+ | function changePic(picName, newPic) | ||
+ | { | ||
+ | document[picName].src = newPic; | ||
+ | } | ||
+ | </script> | ||
+ | |||
+ | <style> | ||
+ | |||
+ | #content { | ||
+ | width: 1005px; | ||
+ | } | ||
+ | |||
+ | div.Menu a{color:#99dd66; font-family: Verdana, sans serif; text-decoration: none} | ||
+ | |||
+ | table, td | ||
+ | { | ||
+ | background-color:#c3f69e; | ||
+ | } | ||
+ | |||
+ | ul#Navigation{ | ||
+ | float:left; | ||
+ | width:100%; | ||
+ | margin:0; | ||
+ | padding-left:35px; | ||
+ | padding-bottom:5px; | ||
+ | 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/c/c1/Buttonhome5x.png')" onmouseout="changePic('homeNav', '/wiki/images/0/03/Buttonhome5.png')"><li><img name="homeNav" src="/wiki/images/0/03/Buttonhome5.png"></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')"> | ||
+ | |||
+ | <a href="/Team:UC_Davis" onmouseover="changePic('projNav','/wiki/images/0/01/Buttonproject5x.png'), changePic('rotatingPic','/wiki/images/a/ab/Gbannerp.jpg')" onmouseout="changePic('projNav','/wiki/images/e/ec/Buttonproject5.png'), changePic('rotatingPic','/wiki/images/4/41/Gbanner.jpg')"><li><img name="projNav" src="/wiki/images/e/ec/Buttonproject5.png"></li></a> | ||
+ | |||
+ | <a href="/Team:UC_Davis" onmouseover="changePic('nbNav','/wiki/images/7/7f/Buttonnotebook5x.png'), changePic('rotatingPic','/wiki/images/1/1c/Gbannern.jpg')" onmouseout="changePic('nbNav','/wiki/images/d/d1/Buttonnotebook5.png'), changePic('rotatingPic','/wiki/images/4/41/Gbanner.jpg')"><li><img name="nbNav" src="/wiki/images/d/d1/Buttonnotebook5.png"></li></a> | ||
+ | |||
+ | |||
+ | <a href="/Team:UC_Davis" onmouseover="changePic('modelNav','/wiki/images/3/3a/Buttonmodeling5x.png'), changePic('rotatingPic','/wiki/images/1/1c/Gbannern.jpg')" onmouseout="changePic('modelNav','/wiki/images/9/96/Buttonmodeling5.png'), changePic('rotatingPic','/wiki/images/4/41/Gbanner.jpg')"><li><img name="modelNav" src="/wiki/images/9/96/Buttonmodeling5.png"></li></a> | ||
+ | |||
+ | <a href="/Team:UC_Davis" onmouseover="changePic('rotatingPic','/wiki/images/a/ab/Gbannerp.jpg'), changePic('teamNav', '/wiki/images/1/13/Buttonteam5x.png')" onmouseout="changePic('rotatingPic', '/wiki/images/4/41/Gbanner.jpg'), changePic('teamNav', '/wiki/images/4/4f/Buttonteam5.png')"> | ||
+ | <li><img name="teamNav" src="/wiki/images/4/4f/Buttonteam5.png"><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" onmouseover="changePic('rotatingPic','/wiki/images/a/ab/Gbannerp.jpg'), changePic('safetyNav','/wiki/images/3/33/Buttonsafety5x.png')" onmouseout="changePic('rotatingPic','/wiki/images/4/41/Gbanner.jpg'), changePic('safetyNav','/wiki/images/f/fa/Buttonsafety5.png')"><li><img name="safetyNav" src="/wiki/images/f/fa/Buttonsafety5.png"></li></a> | ||
+ | </li> | ||
+ | </ul></div> | ||
+ | |||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | </div> | ||
<!-- | <!-- | ||
<html> | <html> |
Revision as of 04:08, 25 July 2010
![]() |
|