website/js/minecraft.js

9 lines
281 B
JavaScript
Raw Normal View History

2014-10-17 18:59:45 +00:00
$(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();
});
2014-11-11 20:27:42 +00:00
});