引导旋转木马。向底部添加分页点 [英] Bootstrap carousel. Add pagination dots to bottom
问题描述
它需要自动移动通过点。
$ p这是我的代码:
http://jsfiddle.net/mdesignone/qXgCg/
感谢:)
此功能目前包含在2.3里程碑(目前为2.1)。目前有一个 pull请求已经实现了这个功能,我建议使用它,而不是滚动自己的,因为当功能正式集成后,它更可能与最终的API保持一致。
插件的源码可以在 mikaelbr的Bootstrap项目的分支。您将需要 bootstrap-carousel.js 和 carousel.less 。
JSFiddle
How would it be possible to add pagination as in dots to the existing carousel for bootstrap.
It needs to move automatically through the dots.
Very new to this and need a little hand.
Here is my code:
http://jsfiddle.net/mdesignone/qXgCg/
Thanks:)
This feature is currently slated to be included in the 2.3 milestone (currently at 2.1). There is presently a pull request which already implements this functionality, and I would recommend using it rather than rolling your own, as it is more likely to be consistent with the final API once the feature gets integrated officially.
The source for the plugin can be found in mikaelbr's fork of the Bootstrap project. You will require both the bootstrap-carousel.js and the carousel.less.
Here is a demo:
JSFiddle
这篇关于引导旋转木马。向底部添加分页点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!