Template:UOttawa Header
From 2012.igem.org
(Difference between revisions)
KyleHinskens (Talk | contribs) (Created page with "{{Template:uOttawa_CSS}}") |
KyleHinskens (Talk | contribs) |
||
(10 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
{{Template:uOttawa_CSS}} | {{Template:uOttawa_CSS}} | ||
+ | <html> | ||
+ | |||
+ | <script type="text/javascript"> | ||
+ | $(function() { | ||
+ | |||
+ | var page = "</html>{{{nav}}}<html>"; | ||
+ | if (page == "home") { | ||
+ | $("table#header").hide(); | ||
+ | } | ||
+ | |||
+ | $('.rollover').hover(function() { | ||
+ | var currentImg = $(this).attr('src'); | ||
+ | $(this).attr('src', $(this).attr('hover')); | ||
+ | $(this).attr('hover', currentImg); | ||
+ | }, function() { | ||
+ | var currentImg = $(this).attr('src'); | ||
+ | $(this).attr('src', $(this).attr('hover')); | ||
+ | $(this).attr('hover', currentImg); | ||
+ | }); | ||
+ | }); | ||
+ | </script> | ||
+ | |||
+ | <table align="center" id="header" cellpadding="0" cellspacing="0" width="970"> | ||
+ | <tr> | ||
+ | <td><a href="https://2012.igem.org/Team:uOttawa_CA/Project"><img src="https://static.igem.org/mediawiki/2012/9/90/Uottawa_Before_Project.png" class="rollover" hover="https://static.igem.org/mediawiki/2012/9/98/Uottawa_headerProject.png"></a></td> | ||
+ | <td><a href="https://2012.igem.org/Team:uOttawa_CA/Results"><img src="https://static.igem.org/mediawiki/2012/9/9b/Uottawa_Before_Results.png" class="rollover" hover="https://static.igem.org/mediawiki/2012/e/ee/Uottawa_headerResults.png"></a></td> | ||
+ | <td><a href="https://2012.igem.org/Team:uOttawa_CA/Team"><img src="https://static.igem.org/mediawiki/2012/a/a5/Uottawa_Before_Team.png" class="rollover" hover="https://static.igem.org/mediawiki/2012/0/00/Uottawa_headerTeam.png"></a></td> | ||
+ | <td><a href="https://2012.igem.org/Team:uOttawa_CA/HumanPractices"><img src="https://static.igem.org/mediawiki/2012/0/0c/Uottawa_Before_HPractices.png" class="rollover" hover="https://static.igem.org/mediawiki/2012/c/c4/Uottawa_headerHPractices.png"></a></td> | ||
+ | <td><a href="https://2012.igem.org/Team:uOttawa_CA/Parts"><img src="https://static.igem.org/mediawiki/2012/d/d4/Uottawa_Before_Parts.png" class="rollover" hover="https://static.igem.org/mediawiki/2012/e/ec/Uottawa_headerParts.png"></a></td> | ||
+ | <td><a href="https://2012.igem.org/Team:uOttawa_CA/Safety"><img src="https://static.igem.org/mediawiki/2012/1/19/Uottawa_Before_Safety.png" class="rollover" hover="https://static.igem.org/mediawiki/2012/0/09/Uottawa_headerSafety.png"></a></td> | ||
+ | <td><a href="https://2012.igem.org/Team:uOttawa_CA/Attributions"><img src="https://static.igem.org/mediawiki/2012/c/c1/Uottawa_Before_Attributions.png" class="rollover" hover="https://static.igem.org/mediawiki/2012/2/2c/Uottawa_headerAttributions.png"></a></td> | ||
+ | <td><a href="https://2012.igem.org/Team:uOttawa_CA/Sponsors"><img src="https://static.igem.org/mediawiki/2012/4/49/Uottawa_Before_Sponsors.png" class="rollover" hover="https://static.igem.org/mediawiki/2012/1/14/Uottawa_headerSponsors.png"></a></td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | </html> |
Latest revision as of 01:52, 4 October 2012