Team:NYC Software/Templates/nav
From 2011.igem.org
(Difference between revisions)
(41 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
- | + | <html lang="en"> | |
<head> | <head> | ||
- | + | ||
+ | <!-- Significant portions of the code for the navigation bar on the left and the boxes at the bottom of some pages were taken from Cambridge 2010's wiki code. --> | ||
+ | |||
+ | <script language="javascript"> | ||
+ | |||
+ | <!-- script to update the iGEM Header Bars to make Editing and viewing History on the current page --> | ||
+ | <!-- something in the code is obscuring the native iGEM header, so I coded this instead. -Russ --> | ||
+ | |||
+ | var currentURL=location.href; | ||
+ | sliced=currentURL.slice(21); | ||
+ | document.write("<a href=https://2011.igem.org/wiki/index.php?title=" + sliced + "&action=edit ><font size='1' color='BA5320'><b>. EDIT .</b></font></a>"); | ||
+ | |||
+ | document.write( "<a href=https://2011.igem.org/wiki/index.php?title=" + sliced + "&action=history ><font size='1' color='F36D21'><b> HISTORY .</b></font></a>"); | ||
+ | document.write("<a href=https://2011.igem.org/Special:MovePage/" + sliced + "><font size='1' color='BA5320'><b> MOVE .</b></font></a>"); | ||
+ | document.write( "<a href=https://2011.igem.org/wiki/index.php?title=" + sliced + "&action=watch ><font size='1' color='F36D21'><b> WATCH .</b></font></a>"); | ||
+ | |||
+ | </script> | ||
+ | |||
+ | |||
<script type="text/javascript"> | <script type="text/javascript"> | ||
Line 17: | Line 35: | ||
<style> | <style> | ||
h2{color:#96d446; } | h2{color:#96d446; } | ||
- | h1, h2, h3, h4, h5{font-family:" | + | h1, h2, h3, h4, h5{font-family:"Palatino", serif; font-size:200%; line-height:35px; border-bottom:0; margin-bottom:5px; border-top:1px dotted #e3e3e3; margin-top:10px; padding-top:30px; font-weight:normal;} |
- | + | ||
- | + | ||
</style> | </style> | ||
Line 31: | Line 47: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
- | $('.left-menu ul')[0].innerHTML="<li><a href=\"https:// | + | $('.left-menu ul')[0].innerHTML="<li><a href=\"https://2011.igem.org\" style=\"font-weight:bold; text-transform:none\">iGEM HQ</a></li>"+$('.left-menu ul')[0].innerHTML; |
$(function() { | $(function() { | ||
$('ul.llmenu').lavaLamp({ speed: 300, autoReturn: true , target:'li'}); | $('ul.llmenu').lavaLamp({ speed: 300, autoReturn: true , target:'li'}); | ||
Line 44: | Line 60: | ||
}); | }); | ||
</script> | </script> | ||
- | <script type="text/javascript" src=" | + | <script type="text/javascript" src="http://www.nysynbio.org/nycwiki/lightbox.js?action=raw"></script> |
<link href='http://fonts.googleapis.com/css?family=Vollkorn:regular,bold&subset=latin' rel='stylesheet' type='text/css'> | <link href='http://fonts.googleapis.com/css?family=Vollkorn:regular,bold&subset=latin' rel='stylesheet' type='text/css'> | ||
Line 163: | Line 179: | ||
</script> | </script> | ||
+ | <script type="text/javascript"> | ||
+ | document.write("<p><br>") | ||
+ | <!-- | ||
+ | var image1=new Image() | ||
+ | image1.src="https://static.igem.org/mediawiki/2011/8/88/Colleges.png" | ||
+ | var image2=new Image() | ||
+ | image2.src="https://static.igem.org/mediawiki/2011/9/99/Horizontal_cultures.png" | ||
+ | var image3=new Image() | ||
+ | image3.src="https://static.igem.org/mediawiki/2011/c/c1/Brooklyn_and_manhattan.jpg" | ||
+ | //--> | ||
+ | </script> | ||
- | <link rel="stylesheet" type="text/css" href=" | + | |
+ | <link rel="stylesheet" type="text/css" href="http://www.nysynbio.org/nycwiki/nycigem.css" /> | ||
</head> | </head> | ||
<body> | <body> | ||
+ | |||
+ | |||
<style> | <style> | ||
- | body{background-image:url(' | + | body{background-image:url('http://www.nysynbio.org/nycwiki/empire.png'); |
background-position:top center; | background-position:top center; | ||
- | background-repeat:repeat-y | + | background-repeat: repeat-y; |
} | } | ||
</style> | </style> | ||
<div id="wrap"> | <div id="wrap"> | ||
- | <div id="header"><img | + | <div id="header"> |
+ | <img src="firstcar.gif" name="slide" width="965" height="200" style="padding-top: 0px"/> | ||
+ | |||
+ | <script> | ||
+ | <!-- | ||
+ | //variable that will increment through the images | ||
+ | var step=1 | ||
+ | function slideit(){ | ||
+ | //if browser does not support the image object, exit. | ||
+ | if (!document.images) | ||
+ | return | ||
+ | document.images.slide.src=eval("image"+step+".src") | ||
+ | if (step<3) | ||
+ | step++ | ||
+ | else | ||
+ | step=1 | ||
+ | //call function "slideit()" every 5 seconds | ||
+ | setTimeout("slideit()",5000) | ||
+ | } | ||
+ | slideit() | ||
+ | //--> | ||
+ | </script> | ||
+ | |||
+ | </div> | ||
<map name="headermap"> | <map name="headermap"> | ||
<area shape="rect" coords="10,30,250,240" href="https://2011.igem.org/Team:NYC_Software" /> | <area shape="rect" coords="10,30,250,240" href="https://2011.igem.org/Team:NYC_Software" /> | ||
Line 192: | Line 245: | ||
<li><a href="/Team:NYC_Software/TheTeam">Meet the Team</a></li> | <li><a href="/Team:NYC_Software/TheTeam">Meet the Team</a></li> | ||
- | |||
- | |||
- | |||
Line 201: | Line 251: | ||
<li><a class="head" href="#">Deinococcus</a> | <li><a class="head" href="#">Deinococcus</a> | ||
<ul class="llmenu llmenugreen"> | <ul class="llmenu llmenugreen"> | ||
- | |||
<li><a href="/Team:NYC_Software/Deinococcus/Deinococcus_Genera">The Deino Genera</a></li> | <li><a href="/Team:NYC_Software/Deinococcus/Deinococcus_Genera">The Deino Genera</a></li> | ||
- | <li><a href="/Team:NYC_Software/Deinococcus/ | + | <li><a href="/Team:NYC_Software/Deinococcus/Genome_Sequencing">Genome Sequencing</a></li> |
- | + | <li><a href="/Team:NYC_Software/Deinococcus/Data">Data</a></li> | |
- | <li><a href="/Team:NYC_Software/Deinococcus/ | + | |
- | + | ||
</ul> | </ul> | ||
</li> | </li> | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
<li><a class="head" href="#">Tools</a> | <li><a class="head" href="#">Tools</a> | ||
<ul class="llmenu llmenured"> | <ul class="llmenu llmenured"> | ||
<li><a href="/Team:NYC_Software/Tools/Primer_Designer">Primer Design</a></li> | <li><a href="/Team:NYC_Software/Tools/Primer_Designer">Primer Design</a></li> | ||
- | <li><a href="/Team:NYC_Software/Tools/ | + | <li><a href="/Team:NYC_Software/Tools/BLAST">BLAST Tool</a></li> |
- | + | ||
</ul> | </ul> | ||
</li> | </li> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | <li><a class="head" href="#"> | + | |
+ | <li><a class="head" href="#">Human Practices</a> | ||
<ul class="llmenu llmenublue"> | <ul class="llmenu llmenublue"> | ||
- | <li><a href="/Team:NYC_Software/ | + | <li><a href="/Team:NYC_Software/Maker_Faire">Maker Faire</a></li> |
- | + | ||
<li><a href="/Team:NYC_Software/Safety">Safety</a></li> | <li><a href="/Team:NYC_Software/Safety">Safety</a></li> | ||
</ul> | </ul> | ||
Line 262: | Line 288: | ||
<ul class="llmenu llmenuyellow"> | <ul class="llmenu llmenuyellow"> | ||
<li><a href="/Team:NYC_Software/Notebook/Summary">Summary</a></li> | <li><a href="/Team:NYC_Software/Notebook/Summary">Summary</a></li> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
<li><a href="/Team:NYC_Software/Protocols">Protocols</a> </li> | <li><a href="/Team:NYC_Software/Protocols">Protocols</a> </li> | ||
+ | <li><a href="/Team:NYC_Software/Attributions">Attributions</a> </li> | ||
+ | |||
</ul> | </ul> | ||
</li> | </li> | ||
Line 287: | Line 301: | ||
<ul class="llmenu llmenublue"> | <ul class="llmenu llmenublue"> | ||
<li><a href="/Team:NYC_Software/Partners">Sponsors</a> </li> | <li><a href="/Team:NYC_Software/Partners">Sponsors</a> </li> | ||
+ | <li><a href="https://2011.igem.org/Team:NYC_Wetware">NYC Wetware</a> </li> | ||
<li><a href="/Team:NYC_Software/iGEM_Teams">iGEM Teams</a> </li> | <li><a href="/Team:NYC_Software/iGEM_Teams">iGEM Teams</a> </li> | ||
- | |||
- | |||
</ul> </li> | </ul> </li> |
Latest revision as of 00:38, 29 September 2011