fantazer
12/3/2015 - 7:50 PM

scrol to id --self

scrol to id --self

$('a[href*="#"]').on('click', function (e) {
	e.preventDefault();

	$('html, body').animate({
		scrollTop: $($(this).attr('href')).offset().top
	}, 500, 'linear');
});