- 链接地址:https://blog.csdn.net/xuefu2008/article/details/120541140
- 链接标题:jQuery实现平滑滚动到指定锚点的方法_jquery楼层锚点滚动_华宇AI的博客-CSDN博客
- 所属网站:blog.csdn.net
- 被收藏次数:1068
文章浏览阅读564次。$(document).ready(function() { $("a.topLink").click(function() { $("html, body").animate({ scrollTop: $($(this).attr("href")).offset().top + "px" }, { duration: 500, easing: "swing" }); return false; });});_jquery楼层锚点滚动
版权声明:本文发布于特牛生活网 内容均来源于互联网 如有侵权联系删除
标签:jquery楼层锚点滚动