Team:McMaster-Ontario

From 2012.igem.org

(Difference between revisions)
Line 16: Line 16:
$(".scroll").click(function(event){
$(".scroll").click(function(event){
event.preventDefault();
event.preventDefault();
-
$('html,body').animate({scrollTop:$(this.hash).offset().top}, 500);
+
$('html,body').animate({scrollTop:$(this.hash).offset(-70).top}, 500);
});
});
});
});

Revision as of 15:01, 7 May 2013


One
Two
Three