Template:Team:Calgary/Main

From 2014.igem.org

(Difference between revisions)
 
(30 intermediate revisions not shown)
Line 1: Line 1:
-
{{Team:Calgary/ResetCSS}}
 
-
{{Team:Calgary/NavCSS}}
 
<html>
<html>
<head>
<head>
-
<meta charset="utf-8">
+
<!-- Reset for BodyContent -->
-
<meta name="viewport" content="width=device-width, initial-scale=1">
+
<style>
 +
#content{
 +
width: 100%;
 +
margin: 0;
 +
padding: 0;
 +
background-color:transparent;
 +
border: none;
 +
}
 +
 +
#bodyContent{
 +
width: 100%;
 +
margin: 0;
 +
padding: 0;
 +
background-color:transparent;
 +
border: none;
 +
}
 +
</style>
<!-- Fonts -->
<!-- Fonts -->
-
<link href='http://fonts.googleapis.com/css?family=Raleway' rel='stylesheet' type='text/css'>
+
<link href='http://fonts.googleapis.com/css?family=Archivo+Narrow:400,400italic,700,700italic&subset=latin,latin-ext' rel='stylesheet' type='text/css'>
 +
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700&subset=latin,latin-ext,greek,greek-ext' rel='stylesheet' type='text/css'>
-
<script src="jquery-1.11.1.min.js" ></script>
+
<!-- CSS -->
-
<script>$(document).ready(function() {
+
<link href="https://2014.igem.org/Team:Calgary/StyleSheets/Reset?action=raw&ctype=text/css" rel="stylesheet">
-
alert('Hi');
+
<link href="https://2014.igem.org/Team:Calgary/StyleSheets/Navigation?action=raw&ctype=text/css" rel="stylesheet">
-
+
<link href="https://2014.igem.org/Team:Calgary/StyleSheets/Content?action=raw&ctype=text/css" rel="stylesheet">
-
$('a[href^="http://"]').not('[href*="Team:Calgary"]').attr('target', '_blank');
+
-
$('a[href^="https://"]').not('[href*="Team:Calgary"]').attr('target', '_blank');
+
<!-- JavaScript and JQuery -->
-
 
+
<script>
-
var vpWidth = $(window).width();
+
$(document).ready(function() {
-
$('div.Lvl2NavBox').css('width',vpWidth);
+
$('a[href^="http://"]').not('[href*="Team:Calgary"]').attr('target', '_blank');
-
+
$('a[href^="https://"]').not('[href*="Team:Calgary"]').attr('target', '_blank');
-
$('#Lvl1Link1').mouseover(function() {
+
-
$('#Lvl2Nav1').css('height', '200px');
+
$('a[href^="#"]').click(function() {
-
});
+
var target = $(this.hash);
-
+
if (target.length == 0) target = $('a[name="' + this.hash.substr(1) + '"]');
-
$('#Lvl1Link1').mouseout(function() {
+
if (target.length == 0) target = $('html');
-
$('#Lvl2Nav1').css('height', '0');
+
$('html, body').animate({ scrollTop: target.offset().top-120 }, 1000);
-
});
+
return false;
-
+
});
-
$('#Lvl1Link2').mouseover(function() {
+
-
$('#Lvl2Nav2').css('height', '200px');
+
if (document.location.hash) {
-
});
+
setTimeout(function() {
-
+
window.scrollTo(window.scrollX, window.scrollY - 120);
-
$('#Lvl1Link2').mouseout(function() {
+
}, 10);
-
$('#Lvl2Nav2').css('height', '0');
+
}
-
});
+
});
-
+
</script>
-
$('#Lvl1Link3').mouseover(function() {
+
-
$('#Lvl2Nav3').css('height', '200px');
+
-
});
+
-
+
-
$('#Lvl1Link3').mouseout(function() {
+
-
$('#Lvl2Nav3').css('height', '0');
+
-
});
+
-
+
-
$('#Lvl1Link4').mouseover(function() {
+
-
$('#Lvl2Nav4').css('height', '200px');
+
-
});
+
-
+
-
$('#Lvl1Link4').mouseout(function() {
+
-
$('#Lvl2Nav4').css('height', '0');
+
-
});
+
-
+
-
$('#Lvl1Link5').mouseover(function() {
+
-
$('#Lvl2Nav5').css('height', '200px');
+
-
});
+
-
+
-
$('#Lvl1Link5').mouseout(function() {
+
-
$('#Lvl2Nav5').css('height', '0');
+
-
});
+
-
+
-
$(window).resize(function() {
+
-
vpWidth = $(window).width();
+
-
$('div.Lvl2NavBox').css('width',vpWidth);
+
-
});
+
-
});
+
-
</script>
+
</head>
</head>
-
+
 
<body>
<body>
-
<nav id="Menu">
+
<section id="Page">
-
<a id="LogoLink" href="https://2014.igem.org/Team:Calgary"><img id="Logo" src="https://static.igem.org/mediawiki/2014/9/98/2014UCalgaryMainLogo.png"></a>
+
<header id="TopBar">
-
<ul class="Lvl1Nav">
+
<ul id="TopLvlNav">
-
<li class="Lvl1Link" id="Lvl1Link1">
+
<li id="LogoLink"><a href="https://2014.igem.org/Team:Calgary"><img src="https://static.igem.org/mediawiki/2014/9/98/2014UCalgaryMainLogo.png"></a></li>
-
<a href="#">Project</a>
+
<li>
-
<div class="Lvl2NavBox" id="Lvl2Nav1">
+
<a href="https://2014.igem.org/Team:Calgary/Project">Project</a>
-
<ul class="Lvl2Nav">
+
<ul>
-
<li class="Lvl2Link"><a href="#">B.s. Detector</a><ul class="Lvl3Nav">
+
<li><a href="https://2014.igem.org/Team:Calgary/Project/BsDetector"><i>B.s.</i> Detector</a>
-
<li class="Lvl3Link"><a href="#">Target Diseases</a></li><li class="Lvl3Link">
+
<ul>
-
<a href="#">Sample Preparation</a></li><li class="Lvl3Link">
+
<li><a href="https://2014.igem.org/Team:Calgary/Project/BsDetector/TargetDiseases">Target Diseases</a></li>
-
<a href="#">in vivo Detection</a></li><li class="Lvl3Link">
+
<li><a href="https://2014.igem.org/Team:Calgary/Project/BsDetector/SamplePreparation">Sample Preparation</a></li>
-
<a href="#">Modelling & Optimization</a></li><li class="Lvl3Link">
+
<li><a href="https://2014.igem.org/Team:Calgary/Project/BsDetector/BsChassis"><i>B.s.</i> Chassis</a></li>
-
<a href="#">Device Prototype</a></li><li class="Lvl3Link">
+
<li><a href="https://2014.igem.org/Team:Calgary/Project/BsDetector/GeneticCircuit">Genetic Circuit</a></li>
-
<a href="#">Platform</a></li>
+
<li><a href="https://2014.igem.org/Team:Calgary/Project/BsDetector/ModellingAndOptimization">Modelling & Optimization</a></li>
 +
<li><a href="https://2014.igem.org/Team:Calgary/Project/BsDetector/DevicePrototype">Device Prototype</a></li>
 +
<li><a href="https://2014.igem.org/Team:Calgary/Project/BsDetector/Platform">Platform</a></li>
</ul>
</ul>
-
</li><li class="Lvl2Link">
+
</li>
-
<a href="#">Collaboration</a></li><li class="Lvl2Link">
+
<li><a href="https://2014.igem.org/Team:Calgary/Project/Collaboration">Collaboration</a></li>
-
<a href="#">Data Page</a></li><li class="Lvl2Link">
+
<li><a href="https://2014.igem.org/Team:Calgary/Project/Achievements">Achievements</a></li>
-
<a href="#">Achievements</a></li><li class="Lvl2Link">
+
<li><a href="https://2014.igem.org/Team:Calgary/Project/FinalSystem">Final System</a></li>
-
<a href="#">Final System</a></li>
+
</ul>
</ul>
-
</div>
+
</li>
-
</li><li class="Lvl1Link" id="Lvl1Link2">
+
-
<a href="#">Team</a>
+
<li>
-
<div class="Lvl2NavBox" id="Lvl2Nav2">
+
<a href="https://2014.igem.org/Team:Calgary/OurTeam">Our Team</a>
-
<ul class="Lvl2Nav">
+
<ul>
-
<li class="Lvl2Link"><a href="#">Team Members</a></li><li class="Lvl2Link">
+
<li><a href="https://2014.igem.org/Team:Calgary/OurTeam/TeamMembers">Team Members</a></li>
-
<a href="#">Official Profile</a></li><li class="Lvl2Link">
+
<li><a href="https://igem.org/Team.cgi?id=1444">Official Profile</a></li>
-
<a href="#">About the University</a></li><li class="Lvl2Link">
+
<li><a href="https://2014.igem.org/Team:Calgary/OurTeam/Outreach">Outreach</a>
-
<a href="#">Contact Us</a></li><li class="Lvl2Link">
+
<ul>
-
<a href="#">Attributions</a></li><li class="Lvl2Link">
+
<li><a href="https://2014.igem.org/Team:Calgary/OurTeam/Outreach/TelusSpark">Telus Spark</a></li>
-
<a href="#">Sponsors</a></li>
+
<li><a href="https://2014.igem.org/Team:Calgary/OurTeam/Outreach/Beakernight">Beakernight</a></li>
 +
</ul>
 +
</li>
 +
<li><a href="https://2014.igem.org/Team:Calgary/OurTeam/TheUniversity">About the University</a></li>
 +
<li><a href="https://2014.igem.org/Team:Calgary/OurTeam/ContactUs">Contact Us</a></li>
 +
<li><a href="https://2014.igem.org/Team:Calgary/OurTeam/Attributions">Attributions</a></li>
 +
<li><a href="https://2014.igem.org/Team:Calgary/OurTeam/Sponsors">Sponsors</a></li>
</ul>
</ul>
-
</div>
+
</li>
-
</li><li class="Lvl1Link" id="Lvl1Link3">
+
-
<a href="#">Notebook</a>
+
<li>
-
<div class="Lvl2NavBox" id="Lvl2Nav3">
+
<a href="https://2014.igem.org/Team:Calgary/Notebook">Notebook</a>
-
<ul class="Lvl2Nav">
+
<ul>
-
<li class="Lvl2Link"><a href="#">Journal</a><ul class="Lvl3Nav">
+
<li><a href="https://2014.igem.org/Team:Calgary/Notebook/Journal">Journal</a>
-
<li class="Lvl3Link"><a href="#">Detectives</a></li><li class="Lvl3Link">
+
<ul>
-
<a href="#">Transformers</a></li><li class="Lvl3Link">
+
<li><a href="https://2014.igem.org/Team:Calgary/Notebook/Journal/Detectives">Detectives</a></li>
-
<a href="#">Engineers</a></li><li class="Lvl3Link">
+
<li><a href="https://2014.igem.org/Team:Calgary/Notebook/Journal/Transformers">Transformers</a></li>
-
<a href="#">Modelling</a></li><li class="Lvl3Link">
+
<li><a href="https://2014.igem.org/Team:Calgary/Notebook/Journal/ModellingAndPrototype">Modelling & Prototype</a></li>
-
<a href="#">Policy & Practices</a></li>
+
<li><a href="https://2014.igem.org/Team:Calgary/Notebook/Journal/PoliciesAndPractices">Policies & Practices</a></li>
</ul>
</ul>
-
</li><li class="Lvl2Link">
+
</li>
-
<a href="#">Protocol Manual</a><ul class="Lvl3Nav">
+
<li><a href="https://2014.igem.org/Team:Calgary/Notebook/ProtocolManual">Protocol Manual</a>
-
<li class="Lvl3Link"><a href="#">General</a></li><li class="Lvl3Link">
+
<ul>
-
<a href="#">DNA</a></li><li class="Lvl3Link">
+
<li><a href="https://2014.igem.org/Team:Calgary/Notebook/ProtocolManual/General">General</a></li>
-
<a href="#">B. subtilis</a></li><li class="Lvl3Link">
+
<li><a href="https://2014.igem.org/Team:Calgary/Notebook/ProtocolManual/DNA">DNA</a></li>
-
<a href="#">Sample Preparation</a></li>
+
<li><a href="https://2014.igem.org/Team:Calgary/Notebook/ProtocolManual/Bsubtilis"><i>B. subtilis</i></a></li>
 +
<li><a href="https://2014.igem.org/Team:Calgary/Notebook/ProtocolManual/SamplePreparation">Sample Preparation</a></li>
</ul>
</ul>
-
</li><li class="Lvl2Link">
+
</li>
-
<a href="#">Parts</a></li><li class="Lvl2Link">
+
<li><a href="https://2014.igem.org/Team:Calgary/Notebook/Parts">Parts</a></li>
-
<a href="#">References</a></li>
+
<li><a href="https://2014.igem.org/Team:Calgary/Notebook/References">References</a></li>
</ul>
</ul>
-
</div>
+
</li>
-
</li><li class="Lvl1Link" id="Lvl1Link4">
+
-
<a href="#">Policies</a>
+
<li>
-
<div class="Lvl2NavBox" id="Lvl2Nav4">
+
<a href="https://2014.igem.org/Team:Calgary/PoliciesAndPractices">Policies</a>
-
<ul class="Lvl2Nav">
+
<ul>
-
<li class="Lvl2Link"><a href="#">Diagnostic Landscape</a><ul class="Lvl3Nav">
+
<li><a href="https://2014.igem.org/Team:Calgary/PoliciesAndPractices/DiagnosticLandscape">Diagnostic Landscape</a>
-
<li class="Lvl3Link"><a href="#">Implementation</a></li><li class="Lvl3Link">
+
<ul>
-
<a href="#">Informed Design</a></li>
+
<li><a href="https://2014.igem.org/Team:Calgary/PoliciesAndPractices/DiagnosticLandscape/Implementation">Implementation</a></li>
 +
<li><a href="https://2014.igem.org/Team:Calgary/PoliciesAndPractices/DiagnosticLandscape/InformedDesign">Informed Design</a></li>
</ul>
</ul>
-
</li><li class="Lvl2Link"><a href="#">Safety</a></li>
+
</li>
 +
<li><a href="https://2014.igem.org/Team:Calgary/PoliciesAndPractices/Safety">Safety</a></li>
 +
<li><a href="https://2014.igem.org/Team:Calgary/PoliciesAndPractices/BiologicalWeaponsConvention">Biological Weapons Convention</a></li>
 +
<li><a href="https://2014.igem.org/Team:Calgary/PoliciesAndPractices/FIND">FIND</a></li>
</ul>
</ul>
-
</div>
+
</li>
-
</li><li class="Lvl1Link" id="Lvl1Link5">
+
-
<a href="https://2014.igem.org">iGEM</a>
+
<li>
-
<div class="Lvl2NavBox" id="Lvl2Nav5">
+
<a href="https://2014.igem.org/Main_Page">iGEM</a>
-
<ul class="Lvl2Nav">
+
<ul>
-
<li class="Lvl2Link"><a href="https://2014.igem.org">iGEM Home</a></li><li class="Lvl2Link">
+
<li><a href="https://2013.igem.org/Team:Calgary" target="_blank">Calgary 2013</a></li>
-
<a href="https://2013.igem.org/Team:Calgary">Calgary 2013</a></li><li class="Lvl2Link">
+
<li><a href="https://2012.igem.org/Team:Calgary" target="_blank">Calgary 2012</a></li>
-
<a href="https://2012.igem.org/Team:Calgary">Calgary 2012</a></li><li class="Lvl2Link">
+
<li><a href="https://2011.igem.org/Team:Calgary" target="_blank">Calgary 2011</a></li>
-
<a href="https://2011.igem.org/Team:Calgary">Calgary 2011</a></li>
+
</ul>
</ul>
-
</div>
+
</li>
-
</li>
+
</ul>
-
</ul>
+
</header>
-
</nav>
+
</body>
</body>
</html>
</html>

Latest revision as of 03:38, 18 October 2014