我正在使用自举轮播滑块...在此,字幕在左侧幻灯片中,图像在右侧..但是我想要当单击“下一步” /“上一步”按钮时,这些..图像在右侧将消失并且左侧的第一个字幕将从底部向上移动,而另一个字幕将从左向右....?谁能帮我...?
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>vastu-home</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="css/fontawesome-all.min.css">
<link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="css/slick.css">
<link rel="stylesheet" type="text/css" href="css/slick-theme.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/owl-carousel/1.3.3/owl.carousel.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/owl-carousel/1.3.3/owl.theme.min.css">
<link rel="stylesheet" type="text/css" href="css/style.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/slick.min.js"></script>
<script type="text/javascript" src="js/myscript.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/owl-carousel/1.3.3/owl.carousel.min.js"></script>
</head>
<body>
<div id="myCarousel" class="carousel" data-ride="carousel">
<!-- Indicators -->
<ol class="carousel-indicators">
<li data-target="#myCarousel" data-slide-to="0" class="active"></li>
<li data-target="#myCarousel" data-slide-to="1"></li>
<li data-target="#myCarousel" data-slide-to="2"></li>
</ol>
<!-- Wrapper for slides -->
<div class="carousel-inner">
<div class="item active">
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-6 home-slider slide-left">
<div class="carousel-caption">
<h3>New York1</h3>
<p>We love the Big Apple!</p>
</div>
</div><!--md-6-->
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-6 home-slider">
<div class="home-slider">
<img src="images/slider1.jpg" width="100%" height="100%;">
</div>
<div class="over-lay">
</div><!--over-lay-->
</div><!--md-5-->
</div>
<div class="item">
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-6 home-slider slide-left">
<div class="carousel-caption">
<h3>New York2</h3>
<p>We love the Big Apple!</p>
</div>
</div><!--md-6-->
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-6 home-slider">
<div class="home-slider">
<img src="images/slider2.jpg" width="100%" height="100%;">
</div>
<div class="over-lay">
</div><!--over-lay-->
</div><!--md-5-->
</div>
<div class="item">
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-6 home-slider slide-left">
<div class="carousel-caption">
<h3>New York3</h3>
<p>We love the Big Apple!</p>
</div>
</div><!--md-6-->
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-6 home-slider">
<div class="home-slider">
<img src="images/slider3.jpg" width="100%" height="100%;">
</div>
<div class="over-lay">
</div><!--over-lay-->
</div><!--md-5-->
</div>
</div>
<!-- Left and right controls -->
<a class="left carousel-control" href="#myCarousel" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left"></span>
<span class="sr-only">Previous</span>
</a>
<a class="right carousel-control" href="#myCarousel" data-slide="next">
<span class="glyphicon glyphicon-chevron-right"></span>
<span class="sr-only">Next</span>
</a>
</div>
</body>
</html>