Jquery Autoscroll on hyperlinks

    Go to Test Div
    $('a.derivate').click(function(){
        $('html, body').animate({
            scrollTop: $( $(this).attr('href') ).offset().top
        }, 500);
        return false;
    });
    It will scroll here
    5
    Average: 5 (1 vote)

    User login