모바일 플로팅 메뉴 스크립트 추가
This commit is contained in:
@ -64,7 +64,17 @@ function pg_anchor($info) {
|
||||
</ul>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
|
||||
<script src="<?php echo G5_JS_URL ?>/jquery.floatmenu.js"></script>
|
||||
|
||||
<div id="info_top_layer">
|
||||
<h2>상품 정보</h2>
|
||||
<?php echo pg_anchor($info); ?>
|
||||
</div>
|
||||
|
||||
<div id="info_content">
|
||||
<?php
|
||||
switch($info) {
|
||||
case 'use':
|
||||
include_once(G5_MSHOP_SKIN_PATH.'/iteminfo.itemuse.skin.php');
|
||||
@ -85,6 +95,15 @@ switch($info) {
|
||||
include_once(G5_MSHOP_SKIN_PATH.'/iteminfo.info.skin.php');
|
||||
break;
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
$(function() {
|
||||
$("#info_top_layer").topFloatMenu();
|
||||
});
|
||||
</script>
|
||||
|
||||
<?php
|
||||
include_once(G5_PATH.'/tail.sub.php');
|
||||
?>
|
||||
@ -39,6 +39,7 @@ if ($row['it_id']) {
|
||||
?>
|
||||
|
||||
<link rel="stylesheet" href="<?php echo G5_MSHOP_SKIN_URL; ?>/style.css">
|
||||
<script src="<?php echo G5_JS_URL ?>/jquery.floatmenu.js"></script>
|
||||
|
||||
<form name="fitem" action="<?php echo $action_url; ?>" method="post" onsubmit="return fitem_submit(this);">
|
||||
<input type="hidden" name="it_id[]" value="<?php echo $it['it_id']; ?>">
|
||||
@ -390,6 +391,10 @@ $href = G5_SHOP_URL.'/iteminfo.php?it_id='.$it_id;
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div id="form_btn_layer">
|
||||
ddd
|
||||
</div>
|
||||
|
||||
<script>
|
||||
$(function(){
|
||||
// 상품이미지 크게보기
|
||||
@ -402,6 +407,8 @@ $(function(){
|
||||
|
||||
return false;
|
||||
});
|
||||
|
||||
$("#form_btn_layer").bottomFloatMenu();
|
||||
});
|
||||
|
||||
// 바로구매, 장바구니 폼 전송
|
||||
|
||||
@ -6,7 +6,6 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
<section id="sit_ex">
|
||||
<h2>교환/반품</h2>
|
||||
<?php echo pg_anchor($info); ?>
|
||||
|
||||
<?php echo conv_content($default['de_change_content'], 1); ?>
|
||||
</section>
|
||||
@ -6,7 +6,6 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
<section id="sit_dvr">
|
||||
<h2>배송정보</h2>
|
||||
<?php echo pg_anchor($info); ?>
|
||||
|
||||
<?php echo conv_content($default['de_baesong_content'], 1); ?>
|
||||
</section>
|
||||
@ -7,9 +7,6 @@ include_once(G5_LIB_PATH.'/iteminfo.lib.php');
|
||||
<link rel="stylesheet" href="<?php echo G5_MSHOP_SKIN_URL; ?>/style.css">
|
||||
|
||||
<section id="sit_inf">
|
||||
<h2>상품 정보</h2>
|
||||
<?php echo pg_anchor($info); ?>
|
||||
|
||||
<?php if ($it['it_basic']) { // 상품 기본설명 ?>
|
||||
<div id="sit_inf_basic">
|
||||
<?php echo $it['it_basic']; ?>
|
||||
@ -52,49 +49,4 @@ include_once(G5_LIB_PATH.'/iteminfo.lib.php');
|
||||
<?php } //if?>
|
||||
|
||||
</section>
|
||||
<!-- 상품설명 end -->
|
||||
|
||||
<!--[if lte IE 6]>
|
||||
<script>
|
||||
// 이미지 등비율 리사이징
|
||||
$(window).load(function() {
|
||||
view_image_resize();
|
||||
});
|
||||
|
||||
function view_image_resize()
|
||||
{
|
||||
var $img = $("#sit_inf_explan img");
|
||||
var img_wrap = $("#sit_inf_explan").width();
|
||||
var win_width = $(window).width() - 35;
|
||||
var res_width = 0;
|
||||
|
||||
if(img_wrap < win_width)
|
||||
res_width = img_wrap;
|
||||
else
|
||||
res_width = win_width;
|
||||
|
||||
$img.each(function() {
|
||||
var img_width = $(this).width();
|
||||
var img_height = $(this).height();
|
||||
var this_width = $(this).data("width");
|
||||
var this_height = $(this).data("height");
|
||||
|
||||
if(this_width == undefined) {
|
||||
$(this).data("width", img_width); // 원래 이미지 사이즈
|
||||
$(this).data("height", img_height);
|
||||
this_width = img_width;
|
||||
this_height = img_height;
|
||||
}
|
||||
|
||||
if(this_width > res_width) {
|
||||
$(this).width(res_width);
|
||||
var res_height = Math.round(res_width * $(this).data("height") / $(this).data("width"));
|
||||
$(this).height(res_height);
|
||||
} else {
|
||||
$(this).width(this_width);
|
||||
$(this).height(this_height);
|
||||
}
|
||||
});
|
||||
}
|
||||
</script>
|
||||
<![endif]-->
|
||||
<!-- 상품설명 end -->
|
||||
@ -6,7 +6,6 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
<section id="sit_qa">
|
||||
<h2>상품문의</h2>
|
||||
<?php echo pg_anchor($info); ?>
|
||||
|
||||
<div id="itemqa"><?php include_once('./itemqa.php'); ?></div>
|
||||
</section>
|
||||
@ -6,7 +6,6 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
<section id="sit_use">
|
||||
<h2>사용후기</h2>
|
||||
<?php echo pg_anchor($info); ?>
|
||||
|
||||
<div id="itemuse"><?php include_once('./itemuse.php'); ?></div>
|
||||
</section>
|
||||
@ -6,7 +6,6 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
<section id="sit_rel">
|
||||
<h2>관련상품</h2>
|
||||
<?php echo pg_anchor($info); ?>
|
||||
|
||||
<div class="sct_wrap">
|
||||
<?php
|
||||
|
||||
@ -3,7 +3,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<link rel="stylesheet" href="<?php echo G5_MSHOP_SKIN_URL; ?>/style.css">
|
||||
<script src="<?php echo G5_JS_URL ?>/shop.mobile.list.js"></script>
|
||||
<script src="<?php echo G5_JS_URL ?>/jquery.fancylist.js"></script>
|
||||
|
||||
<!-- 상품진열 10 시작 { -->
|
||||
<?php
|
||||
@ -73,6 +73,6 @@ if($i == 0) echo "<p class=\"sct_noitem\">등록된 상품이 없습니다.</p>\
|
||||
|
||||
<script>
|
||||
$(function() {
|
||||
$("#sct_wrap").itemList("li.sct_li", "sct_clear");
|
||||
$("#sct_wrap").fancyList("li.sct_li", "sct_clear");
|
||||
});
|
||||
</script>
|
||||
@ -3,7 +3,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<link rel="stylesheet" href="<?php echo G5_MSHOP_SKIN_URL; ?>/style.css">
|
||||
<script src="<?php echo G5_JS_URL ?>/shop.mobile.list.js"></script>
|
||||
<script src="<?php echo G5_JS_URL ?>/jquery.fancylist.js"></script>
|
||||
|
||||
<!-- 상품진열 10 시작 { -->
|
||||
<?php
|
||||
@ -73,6 +73,6 @@ if($i == 0) echo "<p class=\"sct_noitem\">등록된 상품이 없습니다.</p>\
|
||||
|
||||
<script>
|
||||
$(function() {
|
||||
$(".sct_wrap").itemList("li.sct_li", "sct_clear");
|
||||
$(".sct_wrap").fancyList("li.sct_li", "sct_clear");
|
||||
});
|
||||
</script>
|
||||
@ -3,7 +3,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<link rel="stylesheet" href="<?php echo G5_MSHOP_SKIN_URL; ?>/style.css">
|
||||
<script src="<?php echo G5_JS_URL ?>/shop.mobile.list.js"></script>
|
||||
<script src="<?php echo G5_JS_URL ?>/jquery.fancylist.js"></script>
|
||||
|
||||
<!-- 상품진열 10 시작 { -->
|
||||
<?php
|
||||
@ -73,6 +73,6 @@ if($i == 0) echo "<p class=\"sct_noitem\">등록된 상품이 없습니다.</p>\
|
||||
|
||||
<script>
|
||||
$(function() {
|
||||
$("#sct_wrap").itemList("li.sct_li", "sct_clear");
|
||||
$("#sct_wrap").fancyList("li.sct_li", "sct_clear");
|
||||
});
|
||||
</script>
|
||||
Reference in New Issue
Block a user