Template:Team:Sheffield/NavigationBar

From 2014.igem.org

(Difference between revisions)
Line 32: Line 32:
if (target.length) {
if (target.length) {
$('html,body').animate({
$('html,body').animate({
-
scrollTop: target.offset().top
+
scrollTop: target.offset().top + 60
}, 1000);
}, 1000);
return false;
return false;

Revision as of 10:59, 4 October 2014