$(function(){ var obj = $('.lihover'); $(".wp_subtop").hover(function(){ $(this).addClass('lihover'); $(this).siblings().removeClass('lihover'); },function(){ $(this).removeClass('lihover'); obj.addClass('lihover'); }) $(".menubtn").click(function(){ var height = $(document).height(); $('.mobile-mtree,.maskbg').css('height',height+"px").show(); }) $(".mask-close").click(function(){ $('.mobile-mtree,.maskbg').hide(); }) $(".wp-buttons_content").click(function(){ $('.pop_up_search,.pop_up_mask').show(); }) $(".pop_up_close").click(function(){ $('.pop_up_search,.pop_up_mask').hide(); }) }) $(function(){ var banner = new Swiper('.banner .swiper-container', { autoplay: { delay: 3000, stopOnLastSlide: false, disableOnInteraction: false, }, loop:true, pagination: { el: '.banner .swiper-pagination', clickable: true, }, navigation: { nextEl: '.banner .swiper-button-next', prevEl: '.banner .swiper-button-prev', } }); }) $(function(){ var mobile_banner = new Swiper('.mobile_banner .swiper-container', { autoplay: { delay: 3000, stopOnLastSlide: false, disableOnInteraction: false, }, loop:true, pagination: { el: '.mobile_banner .swiper-pagination', clickable: true, }, navigation: { nextEl: '.mobile_banner .swiper-button-next', prevEl: '.mobile_banner .swiper-button-prev', } }); }) $(function(){ if (!(/msie [6|7|8|9]/i.test(navigator.userAgent))) { new WOW().init(); }; }) $(function(){ var mySwiper = new Swiper('.swiper-container', { autoplay: true, }) })