/** * Swiper 4.0.7 * Most modern mobile touch slider and framework with hardware accelerated transitions * http://www.idangero.us/swiper/ * * Copyright 2014-2017 Vladimir Kharlampidi * * Released under the MIT License * * Released on: November 28, 2017 */ var swiperAnimation = new SwiperAnimation(); var swiper = new Swiper('.swiper-container', { slidesPerView: 1, spaceBetween: 0, effect:"fade", loop: true, //À¯Åõºê ¿µ»óÀ» ù¹ø° ÄÆ, ¸¶Áö¸· ÄÆÀ¸·Î »ç¿ëÇÏ½Ç °æ¿ì false ·Î ÁöÁ¤ÇÏ¼Å¾ß ÇÕ´Ï´Ù. À¯Åõºê¿µ»óÀÌ ¾ø°Å³ª µÎ¹ø°ÀÌ»ó ÄÆ¿¡ ³ÖÀ¸½Å´Ù¸é true ·Î ¹Ù²Ù¼Åµµ µË´Ï´Ù. pagination: { el: '.swiper-pagination', clickable: true, }, preloadImages: false, lazy: true, lazy: { loadPrevNext: true, }, navigation: { nextEl: '.swiper-button-next', prevEl: '.swiper-button-prev', }, paginationClickable: true, speed: 1000, autoplay: { delay: 5000, disableOnInteraction: false }, on: { init: function () { swiperAnimation.init(this).animate(); }, slideChange: function () { swiperAnimation.init(this).animate(); } } }); if($('#bgndVideo').length) { swiper.on('slideChange', function () { var isVideoa = swiper.slides[swiper.activeIndex].querySelector('#bgndVideo1'); if (isVideoa) { $("#bgndVideo").YTPPlay(); }else{ $("#bgndVideo").YTPPause(); } }); } $( ".swiper-container" ).mouseover(function(){ $(".swiper-button-next").show(); $(".swiper-button-prev").show(); }); $( ".swiper-container" ).mouseleave(function(){ $(".swiper-button-next").hide(); $(".swiper-button-prev").hide(); });