在类-idangerous swiper的刷卡上更改新的html页面

时间:2016-07-28 16:47:02

标签: javascript jquery swiper

我有两个标签:

<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>

0 个答案:

没有答案