쇼핑몰: #103 오늘 본 상품 버튼 문구 수정 및 넓이 완료
This commit is contained in:
@ -89,14 +89,14 @@ a:active {color:#3c4043;text-decoration:underline}
|
||||
#wrapper_title {margin-bottom:20px;font-size:1.2em}
|
||||
|
||||
/* 오늘 본 상품 */
|
||||
#stv {z-index:1001;float:right;position:relative;width:90px;background:#fff}
|
||||
#stv_list {position:fixed !important;position:absolute;width:90px;border:1px solid #e9e9e9}
|
||||
#stv {z-index:1001;float:right;position:relative;width:88px;background:#fff}
|
||||
#stv_list {position:fixed !important;position:absolute;width:88px;border:1px solid #e9e9e9}
|
||||
#stv_list h2 {padding:10px 0 8px;background:#f7f7f7;text-align:center;letter-spacing:-0.1em}
|
||||
#stv_pg {display:block;margin:5px 0 0}
|
||||
#stv_list p {padding:20px 0;text-align:center}
|
||||
#stv_btn {text-align:center;zoom:1}
|
||||
#stv_btn:after {display:block;visibility:hidden;clear:both;content:''}
|
||||
#stv_btn button {float:left;padding:5px 0 4px;width:44px;border:0;background:#555;color:#fff;text-align:center}
|
||||
#stv_btn button {float:left;margin:0;padding:5px 0 4px;width:44px;border:0;background:#555;color:#fff;text-align:center}
|
||||
#stv_ul {margin:5px 0 10px;padding:0;list-style:none}
|
||||
.stv_item {display:none;text-align:center}
|
||||
.stv_item img {margin:5px 0}
|
||||
|
||||
@ -42,7 +42,7 @@ $tv_div['img_length'] = 3; // 한번에 보여줄 이미지 수
|
||||
var itemShow = <?php echo $tv_div['img_length']; ?>; // 한번에 보여줄 아이템 수량
|
||||
if (itemQty > itemShow)
|
||||
{
|
||||
$('#stv_btn').append('<button id="up">위</button><button id="down">아래</button>');
|
||||
$('#stv_btn').append('<button id="up">이전</button><button id="down">다음</button>');
|
||||
}
|
||||
var Flag = 1; // 페이지
|
||||
var EOFlag = parseInt(<?php echo $i-1; ?>/itemShow); // 전체 리스트를 3(한 번에 보여줄 값)으로 나눠 페이지 최댓값을 구하고
|
||||
|
||||
Reference in New Issue
Block a user