引导旋转木马。向底部添加分页点 [英] Bootstrap carousel. Add pagination dots to bottom

查看:129
本文介绍了引导旋转木马。向底部添加分页点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



它需要自动移动通过点。

$ 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆