Team:Grenoble/script

From 2011.igem.org

(Difference between revisions)
Line 16: Line 16:
$(window).scroll(function () {  
$(window).scroll(function () {  
var scrollPos = $(window).scrollTop();
var scrollPos = $(window).scrollTop();
-
if (scrollPos > 110) {
+
if (scrollPos > 150) {
$(".navigation").addClass("stickToTop");
$(".navigation").addClass("stickToTop");
} else {
} else {

Revision as of 20:18, 24 October 2011