jasonglisson
1/3/2015 - 11:44 PM

Javascript - Animate scroll to element

Javascript - Animate scroll to element

	$('.email').click(function() {
	    $('html, body').animate({
	        scrollTop: $("#contact").offset().top-100
	    }, 2000);
	});