mirror of
https://github.com/kaboomserver/website.git
synced 2024-11-29 18:55:48 -05:00
9 lines
No EOL
281 B
JavaScript
9 lines
No EOL
281 B
JavaScript
$(function() {
|
|
$('.page-scroll a').bind('click', function(event) {
|
|
var $anchor = $(this);
|
|
$('html, body').stop().animate({
|
|
scrollTop: $($anchor.attr('href')).offset().top
|
|
}, 1500, 'easeInOutExpo');
|
|
event.preventDefault();
|
|
});
|
|
}); |