jQuery实现锚点向下平滑滚动特效示例【点击查看详情】
jQuery实现锚点向下平滑滚动特效示例:实现效果: 实现原理: 使用jQuery animate()方法实现页面平滑滚动特效 $('html, body').animate({ scrollTop: $(hash).offset().top }, 800, function(){ window.location.hash = hash; }); 简单实例代码: &lt
相关视频/文章