So I'm trying to make it that then when you click a link in a carousel it scrolls you down the page to the content.
Here is my jquery:
$('#picks li a').click(function(){
    $('html, body').animate({
        scrollTop: $( $.attr(this, 'href') ).offset().top
    }, 500);
    return false;
});
However I recieve this error in my console Error: Syntax error, unrecognized expression: http://hutchcreative.co.uk/rod/other/#galleryDetails
That is the correct link location but not sure how to correct it so that jquery adds in the slide?
Thanks!
 
     
     
     
     
     
    