Template:Team:Calgary/Main

From 2014.igem.org

(Difference between revisions)
 
(32 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 id="TopLvlNav">
-
<ul class="Lvl1Nav">
+
<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>
-
<li class="Lvl1Link" id="Lvl1Link1">
+
<li>
-
<a href="#">Project</a>
+
<a href="https://2014.igem.org/Team:Calgary/Project">Project</a>
-
<div class="Lvl2NavBox" id="Lvl2Nav1">
+
<ul>
-
<ul class="Lvl2Nav">
+
<li><a href="https://2014.igem.org/Team:Calgary/Project/BsDetector"><i>B.s.</i> Detector</a>
-
<li class="Lvl2Link"><a href="#">B.s. Detector</a><ul class="Lvl3Nav">
+
<ul>
-
<li class="Lvl3Nav"><a href="#">Target Diseases</a></li>
+
<li><a href="https://2014.igem.org/Team:Calgary/Project/BsDetector/TargetDiseases">Target Diseases</a></li>
-
<li class="Lvl3Nav"><a href="#">Sample Preparation</a></li>
+
<li><a href="https://2014.igem.org/Team:Calgary/Project/BsDetector/SamplePreparation">Sample Preparation</a></li>
-
<li class="Lvl3Nav"><a href="#">in vivo Detection</a></li>
+
<li><a href="https://2014.igem.org/Team:Calgary/Project/BsDetector/BsChassis"><i>B.s.</i> Chassis</a></li>
-
<li class="Lvl3Nav"><a href="#">Modelling & Optimization</a></li>
+
<li><a href="https://2014.igem.org/Team:Calgary/Project/BsDetector/GeneticCircuit">Genetic Circuit</a></li>
-
<li class="Lvl3Nav"><a href="#">Device Prototype</a></li>
+
<li><a href="https://2014.igem.org/Team:Calgary/Project/BsDetector/ModellingAndOptimization">Modelling & Optimization</a></li>
-
<li class="Lvl3Nav"><a href="#">Platform</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>
-
<li class="Lvl2Link"><a href="#">Collaboration</a></li>
+
<li><a href="https://2014.igem.org/Team:Calgary/Project/Collaboration">Collaboration</a></li>
-
<li class="Lvl2Link"><a href="#">Data Page</a></li>
+
<li><a href="https://2014.igem.org/Team:Calgary/Project/Achievements">Achievements</a></li>
-
<li class="Lvl2Link"><a href="#">Achievements</a></li>
+
<li><a href="https://2014.igem.org/Team:Calgary/Project/FinalSystem">Final System</a></li>
-
<li class="Lvl2Link"><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><a href="https://2014.igem.org/Team:Calgary/OurTeam/TeamMembers">Team Members</a></li>
-
<li class="Lvl2Link"><a href="#">Official Profile</a></li>
+
<li><a href="https://igem.org/Team.cgi?id=1444">Official Profile</a></li>
-
<li class="Lvl2Link"><a href="#">About the University</a></li>
+
<li><a href="https://2014.igem.org/Team:Calgary/OurTeam/Outreach">Outreach</a>
-
<li class="Lvl2Link"><a href="#">Contact Us</a></li>
+
<ul>
-
<li class="Lvl2Link"><a href="#">Attributions</a></li>
+
<li><a href="https://2014.igem.org/Team:Calgary/OurTeam/Outreach/TelusSpark">Telus Spark</a></li>
-
<li class="Lvl2Link"><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="Lvl3Nav"><a href="#">Detectives</a></li>
+
<ul>
-
<li class="Lvl3Nav"><a href="#">Transformers</a></li>
+
<li><a href="https://2014.igem.org/Team:Calgary/Notebook/Journal/Detectives">Detectives</a></li>
-
<li class="Lvl3Nav"><a href="#">Engineers</a></li>
+
<li><a href="https://2014.igem.org/Team:Calgary/Notebook/Journal/Transformers">Transformers</a></li>
-
<li class="Lvl3Nav"><a href="#">Modelling</a></li>
+
<li><a href="https://2014.igem.org/Team:Calgary/Notebook/Journal/ModellingAndPrototype">Modelling & Prototype</a></li>
-
<li class="Lvl3Nav"><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>
-
<li class="Lvl2Link"><a href="#">Protocol Manual</a><ul class="Lvl3Nav">
+
<li><a href="https://2014.igem.org/Team:Calgary/Notebook/ProtocolManual">Protocol Manual</a>
-
<li class="Lvl3Nav"><a href="#">General</a></li>
+
<ul>
-
<li class="Lvl3Nav"><a href="#">DNA</a></li>
+
<li><a href="https://2014.igem.org/Team:Calgary/Notebook/ProtocolManual/General">General</a></li>
-
<li class="Lvl3Nav"><a href="#">B. subtilis</a></li>
+
<li><a href="https://2014.igem.org/Team:Calgary/Notebook/ProtocolManual/DNA">DNA</a></li>
-
<li class="Lvl3Nav"><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>
-
<li class="Lvl2Link"><a href="#">Parts</a></li>
+
<li><a href="https://2014.igem.org/Team:Calgary/Notebook/Parts">Parts</a></li>
-
<li class="Lvl2Link"><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="Lvl3Nav"><a href="#">Implementation</a></li>
+
<ul>
-
<li class="Lvl3Nav"><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>
-
<li class="Lvl2Link"><a href="#">Safety</a></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="Lvl3Nav"><a href="https://2014.igem.org">iGEM Home</a></li>
+
<li><a href="https://2013.igem.org/Team:Calgary" target="_blank">Calgary 2013</a></li>
-
<li class="Lvl3Nav"><a href="https://2013.igem.org/Team:Calgary">Calgary 2013</a></li>
+
<li><a href="https://2012.igem.org/Team:Calgary" target="_blank">Calgary 2012</a></li>
-
<li class="Lvl3Nav"><a href="https://2012.igem.org/Team:Calgary">Calgary 2012</a></li>
+
<li><a href="https://2011.igem.org/Team:Calgary" target="_blank">Calgary 2011</a></li>
-
<li class="Lvl3Nav"><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