swiper

Open full view…

Swipe plugin published an empty page.

bismute
Mon, 05 Feb 2018 01:14:40 GMT

I am using the Swipe plugin and I will publish an empty page. My source code is as follows. It shows a page swiped through a popup by pressing the button. However, if you do Swipe, a blank page is displayed at a certain moment, and Swipe control is not done. I do not know why a blank page is occurring when I swipe. Write a sentence in this place to get help. <button type="button" onClick="javascript:Showon();">Popup on</button> <div id="js-popup" class="swipe-wrap" style="display:none;"> <div class="swiper-container" id="bus-swiper">      <!-- Additional required wrapper -->     <div class="swiper-wrapper">         <div id="swiper-slide">         <!-- Slides -->         <div class="slide1">Bus 1</div>         <div class="slide2">Bus 2</div>          <div class="slide3">Bus 3</div>         </div>         <div id="swiper-slide">         <!-- Slides -->          <div class="slide4">Bus 4</div>          <div class="slide5">Bus 5</div>          <div class="slide6">Bus 6</div>         </div>      </div> </div> </div> <script> function SwipeCall(){ var swiperbus = new Swiper('#bus-swiper', {     loop: true,     loopAdditionalSlides: 0 }); }   function Showon(){     $("#js-popup").show(); SwipeCall(); } </script>