Merge branch 'master' of github.com:gnuboard/yc5

This commit is contained in:
gnuboard
2013-10-23 16:49:43 +09:00
4 changed files with 20 additions and 5 deletions

View File

@ -61,7 +61,7 @@ function pg_anchor($info) {
<?php if ($default['de_baesong_content']) { ?><li><a href="<?php echo $href; ?>&amp;info=dvr" <?php if ($info == 'dvr') echo 'class="sanchor_on"'; ?>>배송정보</a></li><?php } ?>
<?php if ($default['de_change_content']) { ?><li><a href="<?php echo $href; ?>&amp;info=ex" <?php if ($info == 'ex') echo 'class="sanchor_on"'; ?>>교환정보</a></li><?php } ?>
<li><a href="<?php echo $href; ?>&amp;info=rel" <?php if ($info == 'rel') echo 'class="sanchor_on"'; ?>>관련상품 <span class="item_relation_count"><?php echo $item_relation_count; ?></span></a></li>
<li><button type="button" id="iteminfo_close" onclick="self.close();">닫기</button></li>
<li><button type="button" id="iteminfo_close" onclick="self.close();">닫기</button></li>
</ul>
<?php
}
@ -95,7 +95,7 @@ switch($info) {
</div>
<div id="menu_button" class="menu_hidden">
<button type="button">메뉴열기</button>
<button type="button"><b>1</b>메뉴열기</button>
</div>
<div id="menu_list">
<?php echo pg_anchor($info); ?>
@ -128,7 +128,7 @@ $(function() {
$("#menu_list").animate(
{ bottom: ani_direction }, duration,
function() {
$this.toggleClass("menu_opened").text(button_text);
$this.toggleClass("menu_opened").html("<span></span>"+button_text);
}
);
});
@ -153,7 +153,7 @@ function content_scroll()
$("#menu_button")
.css("bottom", 0)
.removeClass("menu_hidden")
.children().removeClass("menu_opened").text("메뉴열기");
.children().removeClass("menu_opened").html("<span></span>메뉴열기");
$("#menu_list")
.css("bottom", "-"+mlh+"px")

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 B

View File

@ -81,7 +81,22 @@
/* 상품상세 */
#info_content {width:100%;height:100%}
#menu_button {position:fixed;left:0;bottom:0;width:100%;height:40px;text-align:center}
#menu_list {position:fixed;left:0;bottom:0}
#menu_button button {position:relative;margin:0;padding:0;width:20%;height:40px;border:0;background:transparent}
#menu_button button span {display:inline-block;position:absolute;top:0;left:0;width:100%;height:100%;background:url('img/arr_up01.gif') #000 center 15px no-repeat}
#menu_button button.menu_opened {background:#ff3061;color:#fff}
#menu_button button.menu_opened span {background:url('img/arr_down01.gif') #000 center 15px no-repeat}
#menu_list {position:fixed;left:0;bottom:0;width:100%;border-top:1px solid #000;background:#f0f1f2}
#menu_list ul {margin:0;padding:0;border:0}
#menu_list li {margin:0;padding:0;width:19%}
#menu_list li:nth-of-type(1) {width:15%}
#menu_list li:nth-of-type(4), #menu_list li:nth-of-type(5) {width:14%}
#menu_list a {display:block;padding:15px 0;border:0;border-right:1px solid #e9e9e9;font-size:0.95em;text-align:center;letter-spacing:-0.1em}
#menu_list a:focus, #menu_list a:hover {background:#f0f1f2;color:#000}
#menu_list li:nth-of-type(6) a {border:0}
#menu_list li:nth-last-of-type(1) {width:100%}
#menu_list button {margin:0;padding:15px 0;width:100%;border:0;border-top:1px solid #e9e9e9;background:#fff;color:#000}
.menu_hidden {display:none}
/* 로딩안내 레이어 */