I am using jquery.scrollTo-min.js but it dose not seam to work why?
I have a button at the end of my page that will take the user to the top of the page again this is a URL: www.epecho.com it is still unfinished.
/* this is my button */
<a href="#" class="up">go up ↑</a>
I have attached the jquery.scrollTo-min.js as well as my own script file what follows it what is in my script file:
$(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();
});
});