Team:DTU-Denmark/sysucolortest

From 2014.igem.org

(Difference between revisions)
(Replaced content with "TO :Template:Team:DTU-Denmark/maintemplate")
 
(46 intermediate revisions not shown)
Line 1: Line 1:
-
{{:Template:Team:DTU-Denmark/cysucolortest}}
+
TO :Template:Team:DTU-Denmark/maintemplate
-
<html>
+
-
 
+
-
<head>
+
-
 
+
-
 
+
-
<!--
+
-
<script type="text/javascript">
+
-
$(document).ready(function () { 
+
-
  var top = $('#nav').offset().top - parseFloat($('#nav').css('marginTop').replace(/auto/, 100));
+
-
  $(window).scroll(function (event) {
+
-
    // what the y position of the scroll is
+
-
    var y = $(this).scrollTop();
+
-
 
+
-
    // whether that's below the form
+
-
    if (y >= top) {
+
-
      // if so, ad the fixed class
+
-
      $('#nav').addClass('fixed');
+
-
    } else {
+
-
      // otherwise remove it
+
-
      $('#nav').removeClass('fixed');
+
-
    }
+
-
  });
+
-
});
+
-
</script>
+
-
-->
+
-
 
+
-
 
+
-
<script type="text/javascript">
+
-
$(document).ready(function(){
+
-
 
+
-
// hide #back-top first
+
-
$("#back-top").hide();
+
-
+
-
// fade in #back-top
+
-
$(function () {
+
-
$(window).scroll(function () {
+
-
if ($(this).scrollTop() > 100) {
+
-
$('#back-top').fadeIn();
+
-
} else {
+
-
$('#back-top').fadeOut();
+
-
}
+
-
});
+
-
 
+
-
// scroll body to 0px on click
+
-
$('#back-top a').click(function () {
+
-
$('body,html').animate({
+
-
scrollTop: 0
+
-
}, 800);
+
-
return false;
+
-
});
+
-
});
+
-
 
+
-
        $(window).scroll(function() {
+
-
            if ($(this).scrollTop() > 60) {
+
-
                $("#nav").css("position","fixed").css("top","0");
+
-
            } else {
+
-
                $("#nav").css("position","absolute").css("bottom","0").css("top","");
+
-
            }
+
-
        });
+
-
 
+
-
});
+
-
</script>
+
-
 
+
-
<script>
+
-
$(document).ready(function() {
+
-
    $(".section-header").click(function(){
+
-
        var section = $(this).attr("id");
+
-
        var sectionDiv = $("div." + section);
+
-
        if (sectionDiv.is(":visible")) {
+
-
            sectionDiv.hide("slow");
+
-
        } else {
+
-
            sectionDiv.show('slow');
+
-
        };
+
-
    });
+
-
   
+
-
    $("." + $(location.hash).attr("id")).show();
+
-
});
+
-
</script>
+
-
 
+
-
<script>
+
-
$(document).ready(function() {
+
-
    $(".protocol").hide();
+
-
    $(".protocol-header").append(" [<span><a>Show</a></span>]");
+
-
    $(".protocol-header span").click(function(){
+
-
        var protocol = $(this).parent().attr("id");
+
-
        var protocolDiv = $("div." + protocol);
+
-
        if (protocolDiv.is(":visible")) {
+
-
            $(this).html("<a>Show</a>");
+
-
            protocolDiv.hide("slow");
+
-
        } else {
+
-
            $(this).html("<a>Hide</a>");
+
-
            protocolDiv.show('slow');
+
-
        };
+
-
    });
+
-
   
+
-
    $("." + $(location.hash).attr("id")).show();
+
-
    $(location.hash).children("span").html("<a>Hide</a>");
+
-
});
+
-
</script>
+
-
 
+
-
</head>
+
-
<body>
+
-
 
+
-
 
+
-
 
+
-
<!--Header-->
+
-
<div class="header">
+
-
 
+
-
<!-- <div class="title"><a href="https://2014.igem.org/Team:DTU-Denmark"><img src="https://static.igem.org/mediawiki/2014/3/30/DTU-Denmark-Header-black.png" width="728" height="51"></a></div> -->
+
-
<!-- edited out old logo/link to frontpage thing because we no longer use it. MTQ-->
+
-
 
+
-
<!--iGEM Logo-->
+
-
<!--
+
-
<div class="igemlogo"> <a href="https://2014.igem.org/Main_Page" target="_blank"><img src="https://static.igem.org/mediawiki/2014/2/21/Logo_copy_copy.png" width="147" height="120"></a></div>
+
-
-->
+
-
 
+
-
 
+
-
<div class="igemlogo"> <a href="https://2014.igem.org/Main_Page" target="_blank"><img src="https://static.igem.org/mediawiki/2014/2/2a/Logo.dtu.png" width="80px"></a></div>
+
-
 
+
-
<div class="epopey"> <a href="https://2014.igem.org/Team:DTU-Denmark" target="_blank"><img src="https://static.igem.org/mediawiki/2014/e/e0/DTU-Denmark-E_popi_color.png" width="35"></a></div>
+
-
 
+
-
</div>
+
-
 
+
-
<!--Navibar-->
+
-
<ul id="nav">
+
-
<li id="HOME"><a href="https://2014.igem.org/Team:DTU-Denmark">Home</a>
+
-
</li>
+
-
 
+
-
<li id="OVERVIEW"><a href=#>Overview</a>
+
-
<ul>
+
-
<li><a href="https://2014.igem.org/Team:DTU-Denmark/Overview/Background">Background</a></li> 
+
-
<li><a href="https://2014.igem.org/Team:DTU-Denmark/Overview/Strategy">Experimental Design</a></li>
+
-
                        <li><a href="https://2014.igem.org/Team:DTU-Denmark/Overview/Interlab_study">Interlab Study</a></li>
+
-
<li><a href="https://2014.igem.org/Team:DTU-Denmark/Overview/Policy_and_Practices">Policy and Practices</a></li>
+
-
<li><a href="https://2014.igem.org/Team:DTU-Denmark/Overview/Ethics">Ethics</a></li>
+
-
</ul>
+
-
</li>
+
-
<li id="METHODS"><a href=#>Methods</a>
+
-
<ul>
+
-
  <li><a href="https://2014.igem.org/Team:DTU-Denmark/Methods/Notebook">Notebook</a></li>
+
-
<li><a href="https://2014.igem.org/Team:DTU-Denmark/Methods/Protocols">Protocols</a></li>
+
-
            <li><a href="https://2014.igem.org/Team:DTU-Denmark/Methods/Safety">Safety</a></li>
+
-
</ul>
+
-
</li>
+
-
<li id="ACHIEVEMENTS"><a href=#>Achievements</a>
+
-
<ul>
+
-
<li><a href="https://2014.igem.org/Team:DTU-Denmark/Achievements/Experimental_Results">Experimental Results</a></li>
+
-
<li><a href="https://2014.igem.org/Team:DTU-Denmark/Achievements/Parts">Parts</a></li>
+
-
                        <li><a href="https://2014.igem.org/Team:DTU-Denmark/Achievements/Interlab_study">Interlab Study</a></li>
+
-
<li><a href="https://2014.igem.org/Team:DTU-Denmark/Achievements/Policy_and_Practices">Policy and Practices</a></li>
+
-
                        <li><a href="https://2014.igem.org/Team:DTU-Denmark/Achievements/BioBrick_Workshop">BioBrick Workshop</a></li>
+
-
<li><a href="https://2014.igem.org/Team:DTU-Denmark/Achievements/Medal_fulfillings">Medal Fulfillings</a></li>
+
-
</ul>
+
-
</li>
+
-
<li id="TEAM"><a href=#>Team</a>
+
-
<ul>
+
-
<li><a href="https://2014.igem.org/Team:DTU-Denmark/Team/Team_Members">Team Members</a></li>
+
-
<li><a href="https://igem.org/Team.cgi?id=1330">Official Team Page</a></li>
+
-
<li><a href="https://2014.igem.org/Team:DTU-Denmark/Team/Sponsors">Sponsors</a></li>
+
-
<li><a href="https://2014.igem.org/Team:DTU-Denmark/Team/Attributions">Attributions</a></li>
+
-
</ul>
+
-
</li>
+
-
 
+
-
</ul>
+
-
 
+
-
 
+
-
<p id="back-top">
+
-
<a href="#top"><span></span></a>
+
-
</p>
+
-
<div id="top-spacer"></div>
+
-
<div class="wrapper">
+
-
</body>
+
-
 
+
-
</html>
+

Latest revision as of 00:12, 18 October 2014

TO :Template:Team:DTU-Denmark/maintemplate