Template:Amplino
From 2012e.igem.org
(Difference between revisions)
(26 intermediate revisions not shown) | |||
Line 12: | Line 12: | ||
<!-- Scripting - START /--> | <!-- Scripting - START /--> | ||
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.js"></script> | <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.js"></script> | ||
- | <script type="text/javascript" src="http://github.com/cowboy/jquery-hashchange/raw/v1.3/jquery.ba-hashchange.js"></script> | + | <script type="text/javascript" src="http://github.com/cowboy/jquery-hashchange/raw/v1.3/jquery.ba-hashchange.js"> |
+ | </script> | ||
+ | <script src="http://tweet.seaofclouds.com/jquery.tweet.js"></script> | ||
+ | <link href='http://fonts.googleapis.com/css?family=Days+One' rel='stylesheet' type='text/css'> | ||
<script> | <script> | ||
Line 32: | Line 35: | ||
$('#menubar').appendTo('#user-menu'); | $('#menubar').appendTo('#user-menu'); | ||
$('.right-menu').appendTo('#igem-links'); | $('.right-menu').appendTo('#igem-links'); | ||
+ | $("#igem-links .right-menu").attr("id","account-links"); | ||
+ | $("#account-links").attr("class","no-class"); | ||
// Initialize history plugin. | // Initialize history plugin. | ||
Line 197: | Line 202: | ||
if (anchor.substring(0,5)!='page=') | if (anchor.substring(0,5)!='page=') | ||
this.href = '#page=' + currentPage + ampersandStr + 'anchor=' + anchor; | this.href = '#page=' + currentPage + ampersandStr + 'anchor=' + anchor; | ||
- | } else if(txt != "edit") | + | } else if(txt != "edit") { |
- | this.href = this.href.replace("https://2012e.igem.org/Team:Amplino/", "#page="); | + | this.href = this.href.replace("https://2012e.igem.org/wiki/index.php/Team:Amplino/", "#page="); |
+ | } | ||
// dbgout('rewriting ' + url + ' to ' + this.href); | // dbgout('rewriting ' + url + ' to ' + this.href); | ||
Line 234: | Line 240: | ||
/* Amplino Styles */ | /* Amplino Styles */ | ||
+ | |||
+ | h2, h3, h4 { | ||
+ | font-family: 'Days One', sans-serif; | ||
+ | } | ||
#floatingbar { | #floatingbar { | ||
Line 357: | Line 367: | ||
position: fixed; | position: fixed; | ||
top: 0; | top: 0; | ||
- | right: | + | right: 5px; |
z-index: 1000; | z-index: 1000; | ||
+ | font-size: 10px; | ||
+ | } | ||
- | + | #account-links ul { | |
+ | list-style: none; | ||
+ | } | ||
+ | |||
+ | #account-links li { | ||
+ | display: block; | ||
clear: both; | clear: both; | ||
float: right; | float: right; | ||
} | } | ||
+ | |||
+ | #account-links li a.new, #account-links li a { | ||
+ | color: #fff; | ||
+ | } | ||
+ | |||
+ | #account-links li a.new:visited, #account-links li a:visited { | ||
+ | color: #fff; | ||
} | } | ||
Line 369: | Line 393: | ||
<div id="igem-links"> | <div id="igem-links"> | ||
- | + | ||
</div> | </div> | ||
Line 380: | Line 404: | ||
<li><a href="#page=Summary">Summary</a></li> | <li><a href="#page=Summary">Summary</a></li> | ||
<li><a href="#page=Problem">Problem</a></li> | <li><a href="#page=Problem">Problem</a></li> | ||
- | <li><a href="#page=Opportunity">Opportunity</a></li> | + | <!-- <li><a href="#page=Opportunity">Opportunity</a></li> --> |
<li><a href="#page=Solution">Solution</a></li> | <li><a href="#page=Solution">Solution</a></li> | ||
<li><a href="#page=Source_Data">Source Data</a></li> | <li><a href="#page=Source_Data">Source Data</a></li> | ||
<li><a href="#page=Attributions">Attributions</a></li> | <li><a href="#page=Attributions">Attributions</a></li> | ||
+ | <li><a href="#page=Safety">Safety</a></li> | ||
</ul> | </ul> | ||
</div> | </div> |
Latest revision as of 11:14, 21 October 2012