Moving things around to make it more structured. and turn into library

This commit is contained in:
Jocelyn Fiat
2011-05-27 15:21:30 +02:00
parent c553bd1e1e
commit 54b95650c5
90 changed files with 24 additions and 2 deletions

View File

@@ -0,0 +1,12 @@
$(document).ready(function(){
/* This code is executed after the DOM has been completely loaded */
$('nav a,footer a.up').click(function(e){
// If a link has been clicked, scroll the page to the link's hash target:
$.scrollTo( this.hash || 0, 1500);
e.preventDefault();
});
});