我有两个标签:
<div class="swiper-container container_height">
<div class="swiper-wrapper">
<div class="swiper-slide">
<div>
<div class="invest_nav1">
<figure>
<a href="#">
<img src="../images/accountlist.png" width="25" height="23">
<figcaption id="VisitScheduleListHeaderLabelVisitScheduleList"></figcaption></a>
</figure>
</div>
<div class="invest_nav2" id="dvVisitedScheduleActivityLstTab" style="display:none;">
<figure>
<a href="VisitedScheduleActivityList.html">
<img src="../images/accountlist.png" width="25" height="23">
<figcaption id="VisitScheduleListHeaderLabelVisitScheduleActivityList"></figcaption></a>
</figure>
</div>
</div>
</div>
</div>
</div>
我的期望是,如果我向右侧滑动location.herf应该更改: 我的代码是:
<script>
var mySwiper = new Swiper('.swiper-container', {
pagination: '.pagination',
paginationClickable: true
})
</script>