亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定

除了應該顯示的圖片和描述內容,為什么還顯示了1 2 3?


<!DOCTYPE html>

<html>

? <head>

? ? <link rel="stylesheet" >

? ? <style>

? ? ? ? body{padding:10px;margin:10px;}

? ? </style>

? </head>

? <body>


? <div id="slidershow" class="carousel slide">

? ? <!-- 設置圖片輪播的順序 -->

? ? <ol class="carousel-indicators">

? ? ? ? <li class="active" data-target="#slidershow" data-slide-to="0">1</li>

? ? ? ? <li data-target="#slidershow" data-slide-to="1">2</li>

? ? ? ? <li data-target="#slidershow" data-slide-to="2">3</li>

? ? </ol>

? ? <!-- 設置輪播圖片 -->

? ? <div class="carousel-inner">

? ? ? ? <div class="item active">

? ? ? ? ? ? <a href="##"><img src="http://images3.c-ctrip.com/rk/201407/ll580x145.jpg" alt=""></a>

? ? ? ? ? ? <div class="carousel-caption">

? ? ? ? ? ? ? ? <h3>圖片標題1</h3>

? ? ? ? ? ? ? ? <p>描述內容1...</p>

? ? ? ? ? ? </div>

? ? ? ? </div>

? ? ? ? <div class="item">

? ? ? ? ? ? <a href="##"><img src="http://images3.c-ctrip.com/dj/201408/zj/zj_580145.jpg" alt=""></a>

? ? ? ? ? ? <div class="carousel-caption">

? ? ? ? ? ? ? ? <h3>圖片標題2</h3>

? ? ? ? ? ? ? ? <p>描述內容2...</p>

? ? ? ? ? ? </div>

? ? ? ? </div>

? ? ? ? <div class="item">

? ? ? ? ? ? <a href="##"><img src="http://images3.c-ctrip.com/dj/201408/zqgq_580145.jpg" alt=""></a>

? ? ? ? ? ? <div class="carousel-caption">

? ? ? ? ? ? ? ? <h3>圖片標題3</h3>

? ? ? ? ? ? ? ? <p>描述內容3...</p>

? ? ? ? ? ? </div>

? ? ? ? </div>

? ? </div>

? ? <a class="left carousel-control" href="#slidershow" role="button">

? ? ? ? <span class="glyphicon glyphicon-chevron-left"></span>

? ? </a>

? ? <a class="right carousel-control" href="#slidershow" role="button">

? ? ? ? <span class="glyphicon glyphicon-chevron-right"></span>

? ? </a>

</div>

??

? <script src="http://libs.baidu.com/jquery/1.9.0/jquery.js"></script>

? <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>

? <script>

? ? $(function(){

? ? ? ? $("#slidershow").carousel({

? ? ? ? ? ? interval:2000

? ? ? ? });

? ? ? ? $("#slidershow a.left").click(function(){

? ? ? ? ? ? $("#slidershow").carousel("prev");

? ? ? ? });

? ? ? ? $("#slidershow a.right").click(function(){

? ? ? ? ? ? $("#slidershow").carousel("next");

? ? ? ? });

? ? });

? </script>

? </body>

</html>


正在回答

2 回答

把<li></li>之間的數值1,2,3去掉。

0 回復 有任何疑惑可以回復我~

a 標簽添加text-indent:9999;

0 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消

除了應該顯示的圖片和描述內容,為什么還顯示了1 2 3?

我要回答 關注問題
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號