$(document).ready(function() { $('.modal').each(function(){ var src = $(this).find('iframe').attr('src'); $(this).on('click', function(){ $(this).find('iframe').attr('src', ''); $(this).find('iframe').attr('src', src); }); }); // About 03 $('.owl-thumb').owlCarousel({ nav: false, dots: false, loop: true, items: 1, autoplay: true, autoplayTimeout: 3000, thumbs: true, thumbImage: true, thumbContainerClass: 'owl-thumbs', thumbItemClass: 'owl-thumb-item' }); // About 07 $('#owl-gallery').owlCarousel({ smartSpeed: 660, nav: false, dots: true, loop: true, margin: 10, autoplay: true, autoplayTimeout: 3000, autoplaySpeed: 500, thumbs: false, responsive: { 0: { items: 1, }, 768: { items: 2, }, 1200: { items: 3, }, } }); // Service 01/02/03 $('.owl-default').owlCarousel({ nav: true, navText: ["", ""], loop: true, items: 1, autoplay: true, autoplayTimeout: 6000, autoplayHoverPause: true, thumbs: false, }); // About 03 $('.owl-theme6').owlCarousel({ nav: true, navText: ["", ""], dots: false, loop: true, items: 1, autoplay: true, autoplayTimeout: 3000, thumbs: true, thumbImage: true, thumbContainerClass: 'owl-thumbs', thumbItemClass: 'owl-thumb-item' }); // Main hero $('#owl-intro').owlCarousel({ nav: true, navText: ["", ""], loop: true, items: 1, autoplay: true, autoplayTimeout: 6000, autoplayHoverPause: true, thumbs: false, }); $('#main-video').owlCarousel({ nav: true, navText: ["", ""], loop: true, dots: false, items: 3, margin: 25, autoplay: true, autoplayTimeout: 6000, autoplayHoverPause: true, thumbs: false, responsiveClass: true, responsive: { 0: { items: 2, margin: 15, nav: false }, 768: { items: 2, margin: 15 }, 1200: { items: 3 } } }); // Service 06 $(document).ready(function() { $('.tcards').owlCarousel({ loop: true, margin: 30, center: false, stagePadding: 15, nav: true, navText: ["", ""], dots: true, autoplay: true, autoplayTimeout: 2000, autoplayHoverPause: true, responsiveClass: true, responsive: { 0: { items: 1, nav: false }, 768: { items: 2 }, 1170: { items: 5 } } }); }); // Main 03 $('.testi7').owlCarousel({ loop: true, margin: 30, nav: false, navText: ["", ""], dots: true, autoplay: true, center: true, responsiveClass: true, responsive: { 0: { items: 1 }, 1650: { items: 1 } } }); // Main $(document).ready(function() { $('.main_tcards').owlCarousel({ loop: true, margin: 30, center: false, stagePadding: 15, nav: false, navText: ["", ""], dots: true, autoplay: true, autoplayTimeout: 2000, autoplayHoverPause: true, responsiveClass: true, responsive: { 0: { items: 1, nav: false }, 768: { items: 2 }, 1170: { items: 3 } } }); }); // imgBg $('.imgBg-holder').each(function() { var b = $(this).children('img').attr('src'); $(this).css('background', 'url("' + b + '")') }); // Board $("#border[name='password']").attr("size", "50"); $(".tableA-list td[width='26']").css("font-size", "0"); $(".tableA-write table.board").addClass("innerTable"); $(".tableA-modify table.board").addClass("innerTable"); }); // ============================================================== // Auto select sub navbar // ============================================================== $(document).ready(function() { var str = location.href.toLowerCase(); $('.sub-navbar>li>a').each(function() { if (str.indexOf(this.href.toLowerCase()) > -1) { $(".sub-navbar>li.active").removeClass("active"); $(this).parent().addClass("active"); } }); $('li.active').parents().each(function() { if ($(this).is('li')) { $(this).addClass("active"); } }); }); $(document).ready(function() { var e = document.querySelector(".navbar") , t = document.querySelector(".navbar-collapse") , o = !1 , a = !1 , n = e.classList.contains("navbar-togglable"); function l() { !o && n && (e.classList.remove("navbar-light"), e.classList.add("navbar-dark"), o = !0) } function r() { o && n && (e.classList.remove("navbar-dark"), e.classList.add("navbar-light"), o = !1) } function i(e, t) { if ("fpOnLeave" == e) 0 == t ? r() : l(); else if ("collapse" == e) { 0 == (n = window.pageYOffset) && a ? r() : l() } else if ("scroll" == e || "load" == e) { var n; 0 == (n = window.pageYOffset) && !a && o ? r() : 0 === n || o || l() } } "load scroll fpOnLeave".split(" ").forEach(function(e) { window.addEventListener(e, function(e) { i(e.type, e.detail ? e.detail.destination.index : void 0) }) }), $(t).on({ "show.bs.collapse": function() { i("collapse"), a = !0 }, "hidden.bs.collapse": function() { i("collapse"), a = !1 } }) }); $(document).ready(function() { var e = document.querySelectorAll(".dropup, .dropright, .dropdown, .dropleft") , t = document.querySelectorAll(".dropdown-menu .dropdown-toggle"); t && [].forEach.call(t, function(a) { a.addEventListener("click", function(e) { var t, n, o; e.preventDefault(), e.stopPropagation(), n = (t = a).closest(".dropdown-menu").querySelectorAll(".dropdown-menu"), o = t.parentElement.querySelector(".dropdown-menu"), [].forEach.call(n, function(e) { e !== o && e.classList.remove("show") }), o.classList.toggle("show") }) }), $(e).on("hide.bs.dropdown", function(e) { var t; t = this.querySelectorAll(".dropdown-menu"), [].forEach.call(t, function(e) { e.classList.remove("show") }) }) }); $(document).ready(function() { var $window = $(window); var $document = $(document); var $footer = $(".bg-footer"); var $goTop = $("#top_btn"); var $poslink = $("#btn_pos"); var $localink = $("#btn_loca"); var $header = $(".navbar"); var $sNav = $(".event-nav"); var $title_img = $(".height-title"); $($goTop).on("click", function() { $("html, body").animate({scrollTop:0}, '500'); return false; }); $window.on('scroll', function(){ if($window.scrollTop() < $document.height() - $window.height() - $footer.outerHeight() ){ $goTop.addClass("go_top_fixed"); $poslink.addClass("fixed"); $localink.addClass("fixed"); } else { $goTop.removeClass("go_top_fixed"); $poslink.removeClass("fixed"); $localink.removeClass("fixed"); } if ($window.scrollTop() < $window.height()) { $goTop.addClass("go_top_hide"); //$poslink.addClass("hide"); //$localink.addClass("hide"); } else { $goTop.removeClass("go_top_hide"); //$poslink.removeClass("hide"); //$localink.removeClass("hide"); } if($window.scrollTop() > ($window.height() - $header.height() - $title_img.height() + 50) ){ $sNav.addClass("fixed"); } else { $sNav.removeClass("fixed"); } }); var $fNav = $(".fast-nav"); var $sub_bnr = $(".bg-titleimg"); $window.on('scroll', function(){ if($window.scrollTop() > ($window.height() - $header.height() - $title_img.height() + $sub_bnr.height() + $fNav.height()) ){ $fNav.addClass("fixed"); } else { $fNav.removeClass("fixed"); } }); }); $("#event a[href^='#']").click(function(event) { event.preventDefault(); var target = $(this.hash); $('html, body').animate({scrollTop: target.offset().top - 60}, 1000); }); /* ÇÏ´Ü »ó´ã½ÅûÇϱ⠰ü·Ã */ $(".onlyNum").bind("keyup", function() { $(this).val($(this).val().replace(/[^0-9-]/g,"")); }); function forder_submit(f) { if(!$('input[name=od_check_safe]:checked').val()) { alert("°³ÀÎÁ¤ ¼öÁý À̿뵿ÀÇ¿¡ Ã¤Å©ÇØÁÖ¼¼¿ä."); $('input[name=od_check_safe]').focus(); return false; } return true; } $(function(){ areaSelectMaker("select[id=addressRegion]"); }); var areaSelectMaker = function(target){ if(target == null || $(target).length == 0){ console.warn("Unkwon Area Tag"); return; } var area = { "¼­¿ïƯº°½Ã" : [ "°­³²±¸", "°­µ¿±¸", "°­ºÏ±¸", "°­¼­±¸", "°ü¾Ç±¸", "±¤Áø±¸", "±¸·Î±¸", "±Ýõ±¸", "³ë¿ø±¸", "µµºÀ±¸", "µ¿´ë¹®±¸", "µ¿ÀÛ±¸", "¸¶Æ÷±¸", "¼­´ë¹®±¸", "¼­Ãʱ¸", "¼ºµ¿±¸", "¼ººÏ±¸", "¼ÛÆÄ±¸", "¾çõ±¸", "¿µµîÆ÷±¸", "¿ë»ê±¸", "ÀºÆò±¸", "Á¾·Î±¸", "Áß±¸", "Áß¶û±¸" ], "°æ±âµµ" : [ "¼ö¿ø½Ã Àå¾È±¸", "¼ö¿ø½Ã ±Ç¼±±¸", "¼ö¿ø½Ã ÆÈ´Þ±¸", "¼ö¿ø½Ã ¿µÅ뱸", "¼º³²½Ã ¼öÁ¤±¸", "¼º³²½Ã Áß¿ø±¸", "¼º³²½Ã ºÐ´ç±¸", "ÀÇÁ¤ºÎ½Ã", "¾È¾ç½Ã ¸¸¾È±¸", "¾È¾ç½Ã µ¿¾È±¸", "ºÎõ½Ã", "±¤¸í½Ã", "ÆòÅýÃ", "µ¿µÎõ½Ã", "¾È»ê½Ã »ó·Ï±¸", "¾È»ê½Ã ´Ü¿ø±¸", "°í¾ç½Ã ´ö¾ç±¸", "°í¾ç½Ã Àϻ굿±¸", "°í¾ç½Ã Àϻ꼭±¸", "°úõ½Ã", "±¸¸®½Ã", "³²¾çÁÖ½Ã", "¿À»ê½Ã", "½ÃÈï½Ã", "±ºÆ÷½Ã", "ÀǿսÃ", "Çϳ²½Ã", "¿ëÀνà óÀα¸", "¿ëÀνà ±âÈﱸ", "¿ëÀνà ¼öÁö±¸", "ÆÄÁÖ½Ã", "ÀÌõ½Ã", "¾È¼º½Ã", "±èÆ÷½Ã", "È­¼º½Ã", "±¤ÁÖ½Ã", "¾çÁÖ½Ã", "Æ÷õ½Ã", "¿©ÁÖ½Ã", "¿¬Ãµ±º", "°¡Æò±º", "¾çÆò±º" ], "ÀÎõ±¤¿ª½Ã" : [ "°è¾ç±¸", "¹ÌÃßȦ±¸", "³²µ¿±¸", "µ¿±¸", "ºÎÆò±¸", "¼­±¸", "¿¬¼ö±¸", "Áß±¸", "°­È­±º", "¿ËÁø±º" ], "°­¿øµµ" : [ "Ãáõ½Ã", "¿øÁÖ½Ã", "°­¸ª½Ã", "µ¿ÇؽÃ", "Źé½Ã", "¼ÓÃʽÃ", "»ïô½Ã", "ȫõ±º", "Ⱦ¼º±º", "¿µ¿ù±º", "Æòⱺ", "Á¤¼±±º", "ö¿ø±º", "ȭõ±º", "¾ç±¸±º", "ÀÎÁ¦±º", "°í¼º±º", "¾ç¾ç±º" ], "ÃæÃ»ºÏµµ" : [ "ûÁֽà »ó´ç±¸", "ûÁֽà ¼­¿ø±¸", "ûÁֽà Èï´ö±¸", "ûÁֽà û¿ø±¸", "ÃæÁÖ½Ã", "Á¦Ãµ½Ã", "º¸Àº±º", "¿Áõ±º", "¿µµ¿±º", "ÁõÆò±º", "ÁøÃµ±º", "±«»ê±º", "À½¼º±º", "´Ü¾ç±º" ], "ÃæÃ»³²µµ" : [ "õ¾È½Ã µ¿³²±¸", "õ¾È½Ã ¼­ºÏ±¸", "°øÁÖ½Ã", "º¸·É½Ã", "¾Æ»ê½Ã", "¼­»ê½Ã", "³í»ê½Ã", "°è·æ½Ã", "´çÁø½Ã", "±Ý»ê±º", "ºÎ¿©±º", "¼­Ãµ±º", "û¾ç±º", "È«¼º±º", "¿¹»ê±º", "žȱº" ], "´ëÀü±¤¿ª½Ã" : [ "´ë´ö±¸", "µ¿±¸", "¼­±¸", "À¯¼º±¸", "Áß±¸" ], "¼¼Á¾Æ¯º°ÀÚÄ¡½Ã" : [ "¼¼Á¾Æ¯º°ÀÚÄ¡½Ã" ], "Àü¶óºÏµµ" : [ "ÀüÁֽà ¿Ï»ê±¸", "ÀüÁֽà ´öÁø±¸", "±º»ê½Ã", "ÀÍ»ê½Ã", "Á¤À¾½Ã", "³²¿ø½Ã", "±èÁ¦½Ã", "¿ÏÁÖ±º", "Áø¾È±º", "¹«ÁÖ±º", "Àå¼ö±º", "ÀӽDZº", "¼øÃ¢±º", "°íⱺ", "ºÎ¾È±º" ], "Àü¶ó³²µµ" : [ "¸ñÆ÷½Ã", "¿©¼ö½Ã", "¼øÃµ½Ã", "³ªÁÖ½Ã", "±¤¾ç½Ã", "´ã¾ç±º", "°î¼º±º", "±¸·Ê±º", "°íÈﱺ", "º¸¼º±º", "È­¼ø±º", "ÀåÈﱺ", "°­Áø±º", "ÇØ³²±º", "¿µ¾Ï±º", "¹«¾È±º", "ÇÔÆò±º", "¿µ±¤±º", "À强±º", "¿Ïµµ±º", "Áøµµ±º", "½Å¾È±º" ], "±¤ÁÖ±¤¿ª½Ã" : [ "±¤»ê±¸", "³²±¸", "µ¿±¸", "ºÏ±¸", "¼­±¸" ], "°æ»óºÏµµ" : [ "Æ÷Ç׽à ³²±¸", "Æ÷Ç׽à ºÏ±¸", "°æÁÖ½Ã", "±èõ½Ã", "¾Èµ¿½Ã", "±¸¹Ì½Ã", "¿µÁÖ½Ã", "¿µÃµ½Ã", "»óÁÖ½Ã", "¹®°æ½Ã", "°æ»ê½Ã", "±ºÀ§±º", "ÀǼº±º", "û¼Û±º", "¿µ¾ç±º", "¿µ´ö±º", "ûµµ±º", "°í·É±º", "¼ºÁÖ±º", "Ä¥°î±º", "¿¹Ãµ±º", "ºÀÈ­±º", "¿ïÁø±º", "¿ï¸ª±º" ], "°æ»ó³²µµ" : [ "â¿ø½Ã ÀÇⱸ", "â¿ø½Ã ¼º»ê±¸", "â¿ø½Ã ¸¶»êÇÕÆ÷±¸", "â¿ø½Ã ¸¶»êȸ¿ø±¸", "â¿ø½Ã ÁøÇر¸", "ÁøÁÖ½Ã", "Å뿵½Ã", "»çõ½Ã", "±èÇØ½Ã", "¹Ð¾ç½Ã", "°ÅÁ¦½Ã", "¾ç»ê½Ã", "ÀǷɱº", "ÇԾȱº", "â³ç±º", "°í¼º±º", "³²Çرº", "Çϵ¿±º", "»êû±º", "ÇԾ籺", "°Åⱺ", "ÇÕõ±º" ], "ºÎ»ê±¤¿ª½Ã" : [ "°­¼­±¸", "±ÝÁ¤±¸", "³²±¸", "µ¿±¸", "µ¿·¡±¸", "ºÎ»êÁø±¸", "ºÏ±¸", "»ç»ó±¸", "»çÇϱ¸", "¼­±¸", "¼ö¿µ±¸", "¿¬Á¦±¸", "¿µµµ±¸", "Áß±¸", "ÇØ¿î´ë±¸", "±âÀ屺" ], "´ë±¸±¤¿ª½Ã" : [ "³²±¸", "´Þ¼­±¸", "µ¿±¸", "ºÏ±¸", "¼­±¸", "¼ö¼º±¸", "Áß±¸", "´Þ¼º±º" ], "¿ï»ê±¤¿ª½Ã" : [ "³²±¸", "µ¿±¸", "ºÏ±¸", "Áß±¸", "¿ïÁÖ±º" ], "Á¦ÁÖÆ¯º°ÀÚÄ¡µµ" : [ "¼­±ÍÆ÷½Ã", "Á¦ÁÖ½Ã" ] }; for(i=0; i<$(target).length; i++){ (function(z){ var a1 = $(target).eq(z); var a2 = a1.next(); var a3 = a2.next(); //ÃʱâÈ­ init(a1, true); //±Ç¿ª ±âº» »ý¼º var areaKeys1 = Object.keys(area); areaKeys1.forEach(function(Region){ a1.append('"); }); //º¯°æ À̺¥Æ® $(a1).on("change", function(){ init($(this), false); var Region = $(this).val(); var keys = Object.keys(area[Region]); keys.forEach(function(Do){ a2.append('"); }); }); })(i); function init(t, first){ first ? t.empty().append("") : ""; t.next().empty().append(""); t.next().next().empty().append(""); } } } function open_pop(e) { $('#popupBg').show(); $('#layer_pop').show(); $('#cr_code').val(e); } function closeBtn() { $('#popupBg').hide(); $('#layer_pop').hide(); } $(document).ready(function() { var li = $('.fast-car4 li'); for(var i=0; i < li.length; i++){ //if($($(dbox)[i]).parent().attr('class') != "soldout"){ var fnum = $($(li)[i]).find('.num').text(); var str = '
'; str += '°ßÀû»ó´ã '; //str += '¿Â¶óÀι®ÀÇ'; str += '
'; $($(li)[i]).append(str); //} } var carcnt = $(".fast-car3 tbody tr").length; $("#cnt_car").html(carcnt); }); $(document).ready(function() { var dbox = $('.fast-car2 .dbox'); for(var i=0; i < dbox.length; i++){ //if($($(dbox)[i]).parent().attr('class') != "soldout"){ var fnum = $($(dbox)[i]).children().find('.num').text(); var str = '
'; str += '°ßÀû»ó´ã '; str += '¿Â¶óÀι®ÀÇ'; str += '
'; $($(dbox)[i]).append(str); //} } var carcnt = $(".fast-car2 li").length; $("#cnt_car").html(carcnt); }); window.onpageshow = function (event) { $('input[type=text]').val(''); }