Team:DTU-Denmark/sysucolortest
From 2014.igem.org
(Difference between revisions)
Line 14: | Line 14: | ||
$('body').animate({ | $('body').animate({ | ||
scrollTop: eval($('#' + $(this).attr('target')).offset().top-30) | scrollTop: eval($('#' + $(this).attr('target')).offset().top-30) | ||
- | }, | + | }, 800); |
}); | }); | ||
}); | }); | ||
Line 37: | Line 37: | ||
$('body,html').animate({ | $('body,html').animate({ | ||
scrollTop: 0 | scrollTop: 0 | ||
- | }, | + | }, 800); |
return false; | return false; | ||
}); | }); |
Revision as of 13:12, 16 October 2014
MOVED to template_css