Template:Amplino
From 2012e.igem.org
(Difference between revisions)
(17 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 33: | Line 36: | ||
$('.right-menu').appendTo('#igem-links'); | $('.right-menu').appendTo('#igem-links'); | ||
$("#igem-links .right-menu").attr("id","account-links"); | $("#igem-links .right-menu").attr("id","account-links"); | ||
- | $("#account-links").attr("class",""); | + | $("#account-links").attr("class","no-class"); |
// Initialize history plugin. | // Initialize history plugin. | ||
Line 199: | 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 236: | Line 240: | ||
/* Amplino Styles */ | /* Amplino Styles */ | ||
+ | |||
+ | h2, h3, h4 { | ||
+ | font-family: 'Days One', sans-serif; | ||
+ | } | ||
#floatingbar { | #floatingbar { | ||
Line 359: | 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 { | #account-links ul { | ||
Line 367: | Line 377: | ||
#account-links li { | #account-links li { | ||
+ | display: block; | ||
+ | clear: both; | ||
+ | float: right; | ||
} | } | ||
- | #account-links li a { | + | #account-links li a.new, #account-links li a { |
+ | color: #fff; | ||
+ | } | ||
+ | |||
+ | #account-links li a.new:visited, #account-links li a:visited { | ||
color: #fff; | color: #fff; | ||
- | |||
} | } | ||
Line 377: | Line 393: | ||
<div id="igem-links"> | <div id="igem-links"> | ||
- | + | ||
</div> | </div> | ||
Line 388: | 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