deprecated-flexible-nav
deprecated-flexible-nav copied to clipboard
Incorporating Smooth Scrolling
Looking to incorporate my smooth scrolling
$(function() {
$('a').bind('click',function(event){
var $anchor = $(this);
$('html, body').stop().animate({
scrollTop: $($anchor.attr('href')).offset().top
}, 1500,'easeInOutExpo');
event.preventDefault();
});
});
In this script but am not having any luck (may be a handy feature to add! ;-) ) also looking to hide the has tags from displaying in the URL bar..
Suggestions / Ideas?
Did you mean $('a') instead of $('a,') ?
Thanks, erased something last minutes from it, same problem tho..
Any ideas gre?