没有合适的资源?快使用搜索试试~ 我知道了~
首页bootstrap实现图片自动轮播
bootstrap图片自动轮播效果图: 代码实现: <!DOCTYPE html> <html lang="zh-CN"> <head> <link rel="stylesheet" href="bootstrap.min.css" /> <link rel="stylesheet" href="bootstrap-theme.min.css" /> [removed][removed] [removed][removed] <style> #div1 {width:600px; height:5
资源详情
资源评论
资源推荐

bootstrap实现图片自动轮播实现图片自动轮播
bootstrap图片自动轮播效果图:
代码实现:
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<link rel="stylesheet" href="bootstrap.min.css" />
<link rel="stylesheet" href="bootstrap-theme.min.css" />
<script src="jquery.min.js"></script>
<script src="bootstrap.min.js"></script>
<style>
#div1 {width:600px; height:500px}
</style>
</head>
<body>
<div id="div1">
<div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
<!-- Indicators -->
<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>
<!-- Wrapper for slides -->
<div class="carousel-inner" role="listbox">
<div class="item active">
<img src="airplane1.jpg" >
</div>
<div class="item">
<img src="airplane2.jpg" >
</div>
<div class="item">
<img src="airplane3.jpg" >
</div>
</div>
<!-- Controls -->
<a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left" id="aaron1"></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" id="aaron2"></span>
<span class="sr-only">Next</span>








安全验证
文档复制为VIP权益,开通VIP直接复制

评论0