JQuery 点击锚点链接平滑滚动效果
JQuery 点击锚点链接平滑滚动效果 $(function(){ $('a[href*=#],area[href*=#]').click(function() { if (location.pathname.replace(/^\//, '') == this.pathname.replace(/^\/…
JQuery 点击锚点链接平滑滚动效果 $(function(){ $('a[href*=#],area[href*=#]').click(function() { if (location.pathname.replace(/^\//, '') == this.pathname.replace(/^\/…