|
@@ -310,51 +310,6 @@ $(document).ready( function() {
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
- //통합검색 - 레이어 열고닫기
|
|
|
|
|
- //210420_수정 : 검색창 호출 스크립트 수정.
|
|
|
|
|
- $(document).on('click','.common_header.main_header .search .promotion_search, .common_header.main_header .search .btn_open_search',function(e){
|
|
|
|
|
- location.href='sch_result.html';
|
|
|
|
|
- return false;
|
|
|
|
|
- }).on('click','.common_search .btn_close_search',function(e){
|
|
|
|
|
- $("#header .common_search").removeClass('active');
|
|
|
|
|
- $('body').removeClass('lock');
|
|
|
|
|
- return false;
|
|
|
|
|
- });
|
|
|
|
|
-
|
|
|
|
|
- //브랜드 통합검색 - 레이어 열고닫기
|
|
|
|
|
- $(document).on('click','.common_header.br_header .search .promotion_search, .common_header.br_header .search .btn_open_search',function(e){
|
|
|
|
|
- $('body').addClass('lock');
|
|
|
|
|
- $("#br_header .common_search.schBrand").addClass('active');
|
|
|
|
|
- return false;
|
|
|
|
|
- }).on('click','.common_search .btn_close_search',function(e){
|
|
|
|
|
- $("#br_header .common_search.schBrand").removeClass('active');
|
|
|
|
|
- $('body').removeClass('lock');
|
|
|
|
|
- return false;
|
|
|
|
|
- });
|
|
|
|
|
-
|
|
|
|
|
- //통합검색 - 검색어 입력 시
|
|
|
|
|
- $(document).on('keyup','.common_search .area_input input',function(e){
|
|
|
|
|
- var searchValue = $(this).val();
|
|
|
|
|
- if(searchValue.length > 0) {
|
|
|
|
|
- $('.common_search .area_result .default_box').hide();
|
|
|
|
|
- $('.common_search .area_result .searching_box').show();
|
|
|
|
|
- } else if (searchValue.length == 0) {
|
|
|
|
|
- $('.common_search .area_result .searching_box').hide();
|
|
|
|
|
- $('.common_search .area_result .default_box').show();
|
|
|
|
|
- }
|
|
|
|
|
- });
|
|
|
|
|
-
|
|
|
|
|
- //통합검색 - 슬라이드 컨트롤러 > 지금 고객님들이 많이 보고 있어요
|
|
|
|
|
- $(document).on('click','.common_search .realtime_slider .btn_pause',function(e){
|
|
|
|
|
- realtimeItemSwiper.autoplay.stop();
|
|
|
|
|
- $(this).hide();
|
|
|
|
|
- $('.common_search .realtime_slider .btn_play').show();
|
|
|
|
|
- }).on('click','.common_search .realtime_slider .btn_play',function(e){
|
|
|
|
|
- realtimeItemSwiper.autoplay.start();
|
|
|
|
|
- $(this).hide();
|
|
|
|
|
- $('.common_search .realtime_slider .btn_pause').show();
|
|
|
|
|
- });
|
|
|
|
|
-
|
|
|
|
|
//LNB_상품리스트 카테고리
|
|
//LNB_상품리스트 카테고리
|
|
|
$(document).on('click','.lnb .lnb_category ul li a',function(e){
|
|
$(document).on('click','.lnb .lnb_category ul li a',function(e){
|
|
|
$(this).toggleClass('on');
|
|
$(this).toggleClass('on');
|
|
@@ -368,7 +323,9 @@ $(document).ready( function() {
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
/* 고객센터_accordion */
|
|
/* 고객센터_accordion */
|
|
|
- $(document).on('click','.cs .foldGroup .fold_head',function(e){
|
|
|
|
|
|
|
+ $(document).off('click').on('click','.cs .foldGroup .fold_head',function(e){
|
|
|
|
|
+ $('.cs .foldGroup .fold_head').removeClass('on');
|
|
|
|
|
+ $('.cs .foldGroup .fold_cont').slideUp(100);
|
|
|
$(this).parents('.foldGroup li').find('.fold_cont').slideToggle(100);
|
|
$(this).parents('.foldGroup li').find('.fold_cont').slideToggle(100);
|
|
|
$(this).toggleClass('on');
|
|
$(this).toggleClass('on');
|
|
|
return false;
|
|
return false;
|