JumboLove
10/16/2014 - 8:20 PM

smoothly scroll to an element without a fancy library

smoothly scroll to an element without a fancy library

$('html, body').animate({
	scrollTop: $("#elementID").offset().top
}, 2000);