공통: #275 상품리스트 보기 유형 변경 고도화
This commit is contained in:
@ -3,6 +3,6 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
<div id="sct_lst">
|
<div id="sct_lst">
|
||||||
<button type="button" class="sct_lst_view sct_lst_list"><span></span>리스트뷰</button>
|
<button type="button" class="sct_lst_view sct_lst_list">리스트뷰<span></span></button>
|
||||||
<button type="button" class="sct_lst_view sct_lst_gallery"><span></span>갤러리뷰</button>
|
<button type="button" class="sct_lst_view sct_lst_gallery">갤러리뷰<span></span></button>
|
||||||
</div>
|
</div>
|
||||||
@ -27,7 +27,7 @@ $.fn.listType = function(type)
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
$("button.sct_lst_gallery span").addClass("sct_lst_on").html("<b class=\"sound_only\">활성</b>");
|
$("button.sct_lst_gallery span").addClass("sct_lst_on").html("<b class=\"sound_only\"> 선택됨</b>");
|
||||||
} else {
|
} else {
|
||||||
this.addClass("sct_40");
|
this.addClass("sct_40");
|
||||||
$el.each(function() {
|
$el.each(function() {
|
||||||
@ -36,7 +36,7 @@ $.fn.listType = function(type)
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
$("button.sct_lst_list span").addClass("sct_lst_on").html("<b class=\"sound_only\">활성</b>");
|
$("button.sct_lst_list span").addClass("sct_lst_on").html("<b class=\"sound_only\"> 선택됨</b>");
|
||||||
}
|
}
|
||||||
|
|
||||||
set_cookie("ck_itemlist<?php echo $ca_id; ?>_type", type, 1, g4_cookie_domain);
|
set_cookie("ck_itemlist<?php echo $ca_id; ?>_type", type, 1, g4_cookie_domain);
|
||||||
|
|||||||
Reference in New Issue
Block a user