bootstrap.js带有动画滚动的scrollspy [英] bootstrap.js scrollspy with animated scroll
问题描述
我当前正在使用此插件: http://github.com/davist11/jQuery-One-Page -Nav
I'm currently using this plugin: http://github.com/davist11/jQuery-One-Page-Nav
,但希望改用Twitter的Bootstrap.js Scrollspy:http://twitter.github.com/bootstrap/javascript.html#scrollspy
but would prefer to switch to using Twitter's Bootstrap.js Scrollspy: http://twitter.github.com/bootstrap/javascript.html#scrollspy
但是,这不是单击时提供动画滚动运动的选项。如何添加它?
However, this doesn't offer an option to animate the scroll movement when clicked. How can I add this?
推荐答案
您应该看看 http://plugins.jquery.com/scrollTo/ ,将其与引导程序结合起来应该很简单。如果您愿意,我会很高兴地详细介绍如何实现它。
You should take a look at http://plugins.jquery.com/scrollTo/, it should be faily simple to combine with bootstrap. I will happily give a more detailed explination on how to implement it if you would like.
这篇关于bootstrap.js带有动画滚动的scrollspy的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!