Team:DTU-Denmark/sysucolortest
From 2014.igem.org
(Difference between revisions)
Line 13: | Line 13: | ||
$('.scrollable').click(function() { | $('.scrollable').click(function() { | ||
$('body').animate({ | $('body').animate({ | ||
- | scrollTop: eval($('#' + $(this).attr('target')).offset().top- | + | scrollTop: eval($('#' + $(this).attr('target')).offset().top-30) |
}, 1000); | }, 1000); | ||
}); | }); |
Revision as of 12:41, 16 October 2014
MOVED to template_css