쇼핑몰: #271 메인 애니메이션 스킨 마크업 및 스타일 샘플 작업 보완

This commit is contained in:
whitedot
2013-08-08 14:57:02 +09:00
parent b48dfc4e7b
commit 839eeb43f9
2 changed files with 7 additions and 2 deletions

View File

@ -22,7 +22,7 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
echo "<li class=\"sct_li\">\n";
}
if ($i > 1 && $i%$this->list_mod == 1) {
if ($i > 1) {
echo "</li>\n";
echo "<li class=\"sct_li\">\n";
}
@ -66,6 +66,11 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
echo get_sns_share_link('googleplus', $sns_url, $sns_title, G4_SHOP_URL.'/img/sns_goo.png');
echo "</div>\n";
}
if ($i%$this->list_mod == 0) {
echo "</ul>";
echo "<ul class=\"sct_ul\">";
}
}
if ($i > 1) {

View File

@ -98,7 +98,7 @@
/* 메인 상품 목록 스킨 30 */
.smt_30 {position:relative;width:100%;height:330px;overflow-x:hidden}
.smt_30 .sct_ul {position:absolute;top:0;left:765px;margin:0;padding:0;width:100%;zoom:1}
.smt_30 .sct_ul {position:absolute;top:0;left:765px;margin:0;padding:0;width:100%;list-style:none;zoom:1}
.smt_30 .sct_ul:after {display:block;visibility:hidden;clear:both;content:""}
.smt_30 .sct_ul_first {display:block;left:0}
.smt_30 .sct_li {float:left}