用bootstrap实现图片的轮播
来源:互联网 发布:德国统一 知乎 编辑:程序博客网 时间:2024/04/30 19:16
记得导入bootstrap.css,如果出现无法显示图标的情况,参见我的另一篇博文。
<!--图片轮播--> <div id="carousel-example-generic" class="carousel slide" data-ride="carousel"> <!--轮播图片的提示点--> <ol class="carousel-indicators"> <li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li> <li data-target="#carousel-example-generic" data-slide-to="1" ></li> <li data-target="#carousel-example-generic" data-slide-to="2" ></li> </ol> <!--轮播图片--> <div class="carousel-inner" role="listbox"> <div class="item active"> <img src="../images/carousel1.jpg" alt="1"> <div class="carousel-caption"> <h4>教学天地</h4><!--可以设置浮动在图片上面的文字--> <p>这个大学是华南地区唯一一所医药大学</p> </div> </div> <div class="item "> <img src="../images/carousel2.jpg" alt="2"> <div class="carousel-caption"></div> </div> <div class="item "> <img src="../images/carousel2.jpg" alt="3"> <div class="carousel-caption"></div> </div> </div> <!--左右滑动图标--> <a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev"> <span class="glyphicon glyphicon-chevron-left" ></span> <span class="sr-only">Previous</span> </a> <a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next"> <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span> <span class="sr-only">Next</span> </a> </div></div>
1 0
- 用bootstrap实现图片的轮播
- bootstrap下 图片轮播的实现
- Bootstrap图片旋转轮播的实现
- Bootstrap图片旋转轮播的实现
- bootstrap实现图片轮播
- 基于Bootstrap框架的图片轮播实现
- AngularJS+ui.bootstrap实现图片轮播
- bootstrap图片轮播
- Bootstrap图片轮播
- Bootstrap图片轮播
- 【BootStrap】图片轮播
- BootStrap图片轮播
- Bootstrap 图片轮播
- Bootstrap图片轮播
- Bootstrap---图片轮播
- bootstrap图片轮播
- Bootstrap的图片轮播示例代码
- 使用onethink和bootstrap实现首页上的图片轮播和图片采用自后台
- 使用maven构建一个SSM(Spring+SpringMVC+Mybatis(阿里数据连接池)的简单环境
- jquery遮罩插件
- JS关于函数方法
- POJ 1069 The Bermuda Triangle 笔记
- Unity GrabPass 实现高斯模糊毛玻璃
- 用bootstrap实现图片的轮播
- Android多线程通讯之AsyncTask使用详解
- 课设
- 架构设计七之解释器模式、模板模式、观察者模式
- NOIP 2008 提高组 复赛 message 传字条
- 如何定位web前后台的BUG
- Spring 注解方式集成 Junit4 进行单元测试
- 总结1
- 带触屏的语音助手是客厅的新宠?亚马逊新一代 Echo 也许能告诉你答案