Team:DTU-Denmark/sysucolortest

From 2014.igem.org

(Difference between revisions)
Line 28: Line 28:
$('body,html').animate({
$('body,html').animate({
scrollTop: 0
scrollTop: 0
-
}, 800);
+
}, 800000);
return false;
return false;
});
});
Line 34: Line 34:
         $(window).scroll(function() {
         $(window).scroll(function() {
-
             if ($(this).scrollTop() > 680) {  // Changed threshold to 68, to make it more smooth - KJ
+
             if ($(this).scrollTop() > 68) {  // Changed threshold to 68, to make it more smooth - KJ
                 $("#nav").css("position","fixed").css("top","0px");
                 $("#nav").css("position","fixed").css("top","0px");
                 $("#nav").css("background-color","#353535");
                 $("#nav").css("background-color","#353535");

Revision as of 12:12, 16 October 2014

MOVED to template_css