Team:NYC Wetware/Templates/nav

From 2011.igem.org

(Difference between revisions)
Line 2: Line 2:
<head>  
<head>  
 +
<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 18: Line 34:
h2{color:#96d446; }
h2{color:#96d446; }
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;}
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;}
-
h2.noline{ border-top:0; margin-top:0; padding-top:0; margin-bottom:0; line-height:20px; padding-top:2px; font-size:20px;}
 
-
h2.topheader{border-top:0; padding-top:0; margin-top:5px;}
 
</style>
</style>

Revision as of 01:24, 28 September 2011