scrollspy.js是一个轻量级的和易于使用的js当前页滚动插件,自动添加或删除活动类导航链接,项目滚动向上或者向下。
scrollSpy('nav', { sectionSelector: 'section', targetSelector: 'a', offset: 0, // in pixels hrefAttribute: 'href', activeClass: 'active', });
单页滚动跳转导航scrollspy.js
正在加载文件目录...
- 热度 23
![](http://imgs.bootstrapmb.com/2020/11/050204502.jpg)
下载了 此素材
![](http://imgs.bootstrapmb.com/2023/12/061010466.jpg)
归处收藏了 此素材
![](http://imgs.bootstrapmb.com/2023/10/240524506.jpg)
又想起了你笑了笑自己下载了 此素材
![](http://imgs.bootstrapmb.com/2023/2/230237488.jpg)
Conquer365下载了 此素材
![](http://imgs.bootstrapmb.com/2022/4/080906360.jpg)
WASAI收藏了 此素材
![](http://imgs.bootstrapmb.com/2022/7/101056471.jpg)
梦飞扬收藏了 此素材
![](http://imgs.bootstrapmb.com/2022/6/201153086.jpg)
BroadPing下载了 此素材
![](http://imgs.bootstrapmb.com/2021/8/011158592.jpg)
o-pizza下载了 此素材
![](http://imgs.bootstrapmb.com/2018/8/010410162.jpg)
理想主义Z下载了 此素材
![](http://imgs.bootstrapmb.com/2022/4/010344072.jpg)
入夜下载了 此素材