diff --git a/css/default_shop.css b/css/default_shop.css index b2542c3a1..3002f63b6 100644 --- a/css/default_shop.css +++ b/css/default_shop.css @@ -438,7 +438,7 @@ box-shadow:inset 0 1px 1px rgba(0, 0, 0, .075)} /* 자료 없는 목록 */ .empty_table {padding:50px 0 !important;text-align:center;color:#777 !important} -.empty_list, .empty_li {padding:20px 0 !important;text-align:center;color:#777 !important} +.empty_list, .empty_li {padding:20px 0 !important;text-align:center !important;color:#777 !important} /* 필수입력 */ .required, textarea.required {background-image:url('../img/require.png') !important;background-repeat:no-repeat !important;background-position:right top !important} diff --git a/js/common.js b/js/common.js index 071245a70..f8ef48d45 100644 --- a/js/common.js +++ b/js/common.js @@ -539,6 +539,15 @@ var win_poll = function(href) { new_win.focus(); } +/** + * 쿠폰 + **/ +var win_coupon = function(href) { + var new_win = window.open(href, "win_coupon", "left=100,top=100,width=700, height=600, scrollbars=1"); + new_win.focus(); +} + + /** * 스크린리더 미사용자를 위한 스크립트 - 지운아빠 2013-04-22 * alt 값만 갖는 그래픽 링크에 마우스오버 시 title 값 부여, 마우스아웃 시 title 값 제거 @@ -632,6 +641,11 @@ $(function(){ }); */ + $(".win_coupon").click(function() { + win_coupon(this.href); + return false; + }); + // 사이드뷰 var sv_hide = false; $(".sv_member, .sv_guest").click(function() { diff --git a/mobile/shop/mypage.php b/mobile/shop/mypage.php index 2b68c690a..79e70e078 100644 --- a/mobile/shop/mypage.php +++ b/mobile/shop/mypage.php @@ -31,10 +31,14 @@ $cp_count = get_shop_member_coupon_count($member['mb_id'], true);