Team:DTU-Denmark/kristian test header

From 2014.igem.org

(Difference between revisions)
Line 36: Line 36:
         $(window).scroll(function() {
         $(window).scroll(function() {
-
             if ($(this).scrollTop() > 80) {
+
             if ($(this).scrollTop() > 50) {
                 $("#nav").css("position","fixed").css("top","0");
                 $("#nav").css("position","fixed").css("top","0");
             } else {
             } else {

Revision as of 16:10, 13 September 2014