首页 > Web开发 > 详细

js页面滚动定位

时间:2017-11-25 12:55:04      阅读:211      评论:0      收藏:0      [点我收藏+]

$(".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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!