ÿØÿà JFIF ` ` ÿþ
Server : Apache System : Linux ruga7-004.fmcity.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : tkt_travelbus ( 1137) PHP Version : 7.0.0p1 Disable Function : mysql_pconnect Directory : /tkt_travelbus/www/js/ |
Upload File : |
//pc menu $(function(){ $(".header-inner").mouseenter(function(){ $("#pc-header").addClass('header-hover'); $(".sub-menu-bg").css("height","270px"); $("#pc-header .menu-wrap nav ul>li>a").css("text-shadow","none"); $(".sub-menu").show().delay(100).animate({"opacity":"1"},300,"easeOutExpo"); $(".black-bg").show().delay(100).animate({"opacity":"1"},300,"easeOutExpo"); }); $(".header-inner").mouseleave(function(){ $("#pc-header").removeClass('header-hover'); $(".sub-menu-bg").css("height","0"); $(".sub-menu").css("opacity","0").hide(); $("#pc-header .menu-wrap nav ul>li>a").css("text-shadow","0 0 5px rgba(0,0,0,0.5)"); $(".black-bg").animate({"opacity":"0"},300,"easeOutExpo").hide(); }); }); //mobile menu $(function(){ $(".menu-open i").click(function(){ $(this).hide(); $(".menu-close i").show(); $("#mo-header .menu-wrap").animate({"right":"0"},300,"easeOutExpo"); $(".black-bg").show().animate({"opacity":"1"},300,"easeOutExpo"); $("#mo-header").css("height","100%"); }); $(".menu-close i").click(function(){ $(this).hide(); $(".menu-open i").show(); $("#mo-header .menu-wrap").animate({"right":"-300px"},300,"easeOutExpo",function(){ $("#mo-header").css("height","120px"); }); $(".black-bg").css("opacity","0").hide(); }); $(".mo-menu-list").click(function(){ $(".sub-menu").addClass("sub-menu-hide"); $(this).children(".sub-menu").removeClass("sub-menu-hide"); $(this).children(".sub-menu").addClass("sub-menu-show"); $(".sub-menu-hide").slideUp(); if($(this).children(".sub-menu").hasClass("sub-menu-show")) { $(this).children(".sub-menu").slideToggle(); $(this).children(".sub-menu").removeClass("sub-menu-show"); } else { } }); }); //main banner $(function(){ var mainSlide = new Swiper('.main-banner-swiper',{ effect: 'fade', loop:true, speed:500, autoplay: { delay:3000, }, navigation: { prevEl:'.main-ban-prev', nextEl:'.main-ban-next', }, }) }); //main location $(function(){ $(".location-tab a").click(function(){ $(".location-tab a").removeClass("location-tab-select"); $(this).addClass("location-tab-select"); var map_num = $(this).index(); map_show(map_num) }); function map_show(map_num){ $(".map-box").removeClass("map-select") $(".map-box").eq(map_num).addClass("map-select") } }); //지점소개 슬라이드 $(function(){ var placeSlide = new Swiper('.place-slide',{ loop:true, speed:300, pagination : { el : '.place-slide-dot', clickable : true, }, navigation: { prevEl:'.place-slide-prev', nextEl:'.place-slide-next', }, }) }); //코스소개 슬라이드 $(function(){ var courseSlide = new Swiper('.course-slide',{ loop:false, speed:300, navigation: { prevEl:'.course-slide-prev', nextEl:'.course-slide-next', }, }) }); //시설소개 $(function(){ $(".facility-tab .inner div").click(function(){ $(".facility-tab .inner div").removeClass("tab-select"); $(this).addClass("tab-select"); var facility_num = $(this).index(); facility_show(facility_num) }); function facility_show(facility_num){ $(".facility-content").removeClass("facility-select") $(".facility-content").eq(facility_num).addClass("facility-select") } });