This commit is contained in:
Jay
2026-03-10 21:09:28 +00:00
commit 2d6ae6db8d
11 changed files with 926 additions and 0 deletions

14
script.js Normal file
View File

@@ -0,0 +1,14 @@
// https://twitter.com/uixmat
function scrollNav() {
$('.nav a').click(function(){
$(".active").removeClass("active");
$(this).addClass("active");
$('html, body').stop().animate({
scrollTop: $($(this).attr('href')).offset().top - 160
}, 300);
return false;
});
}
scrollNav();