2017-11-07 14 views

答えて

0

あなたは(https://stackoverflow.com/help/how-to-ask)[依頼する方法]を参照this-

$('#A_ID').click(function (e) {//#A_ID is an example. Use the id of your Anchor 
$('html, body').animate({ 
    scrollTop: $('#DIV_ID').offset().top - 20//#DIV_ID is an example. Use the id of your destination on the page 
}, 'slow'); 
}); 
関連する問題