摘要: 通过几句jquery代码实现页面平滑滚动到某一锚点的效果。实现代码来源于https://css-tricks.com/snippets/jquery/smooth-scrolling 实现的jquery代码如下: 这里我们就先了解一下location对象及它的一些属性: location对象属于wi 阅读全文
posted @ 2016-11-02 14:31 木西梧 阅读(11037) 评论(0) 推荐(1) 编辑