Team:DTU-Denmark/kristian test header

From 2014.igem.org

(Difference between revisions)
 
(12 intermediate revisions not shown)
Line 1: Line 1:
-
{{:Template:Team:DTU-Denmark/cysucolortest}}
+
{{:Template:Team:DTU-Denmark/kristian_css_test}}
<html>
<html>
Line 34: Line 34:
});
});
});
});
 +
 +
        $(window).scroll(function() {
 +
            if ($(this).scrollTop() > 50) {
 +
                $("#nav").css("position","fixed").css("top","0");
 +
            } else {
 +
                $("#nav").css("position","absolute").css("bottom","0").css("top","");
 +
            }
 +
        });
});
});
Line 87: Line 95:
<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="50"></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="50"></a></div>
-
 
-
 
-
</div>
 
<!--Navibar-->
<!--Navibar-->
Line 131: Line 136:
</ul>
</ul>
 +
</div>
Line 136: Line 142:
<a href="#top"><span></span></a>
<a href="#top"><span></span></a>
</p>
</p>
-
<div id="top-spacer"></div>
+
<div style="background-color:gray;width:80%;height:2000px;margin:auto">
 +
 
 +
</div>
</body>
</body>
</html>
</html>
 +
{{:Template:Team:DTU-Denmark/footer}}

Latest revision as of 16:21, 13 September 2014