$(".navigation").children().eq(0).click(function() {
???????$("html, body").animate({scrollTop: $(".footer").offset().top }, {duration: 500,easing: "swing"});
???????return false;
???????document.getElementById("divId").scrollIntoView();
???});
https://www.cnblogs.com/ictlight-moving-on-1/p/5753785.html
js页面滚动定位
原文地址:http://www.cnblogs.com/dontes/p/7894582.html