jQuery Scroll To

1/25/2016 7:50:55 PM

Scroll to an object using jQuery.

$('html, body').animate({
	scrollTop: 0
	//scroll to object
	//scrollTop: $("#object_id").offset().top
}, 400);