Template:Amplino

From 2012e.igem.org

(Difference between revisions)
 
(29 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 31: Line 34:
$('#search-controls').appendTo('#search-form');
$('#search-controls').appendTo('#search-form');
$('#menubar').appendTo('#user-menu');
$('#menubar').appendTo('#user-menu');
 +
$('.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 196: 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 233: Line 240:
/* Amplino Styles */
/* Amplino Styles */
 +
 +
h2, h3, h4 {
 +
font-family: 'Days One', sans-serif;
 +
}
#floatingbar {
#floatingbar {
Line 354: Line 365:
#igem-links {
#igem-links {
-
position: absolute;
+
position: fixed;
top: 0;
top: 0;
-
right: 0;
+
right: 5px;
z-index: 1000;
z-index: 1000;
 +
font-size: 10px;
 +
}
 +
 +
#account-links ul {
 +
list-style: none;
 +
}
 +
 +
#account-links li {
 +
display: block;
 +
clear: both;
 +
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;
}
}
</style>
</style>
 +
 +
<div id="igem-links">
 +
 +
</div>
<div id="floatingbar">
<div id="floatingbar">
Line 370: 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>
Line 384: Line 419:
<div id="user-menu">
<div id="user-menu">
</div>
</div>
-
</div>
 
-
 
-
<div id="igem-links">
 
-
test
 
</div>
</div>

Latest revision as of 11:14, 21 October 2012