diff --git a/bbs/zip.php b/bbs/zip.php index abb4ebe66..0e8fb9079 100644 --- a/bbs/zip.php +++ b/bbs/zip.php @@ -12,5 +12,7 @@ if(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS']=='on') { //https 통신 include_once($member_skin_path.'/zip.skin.php'); +echo ''; + include_once(G5_PATH.'/tail.sub.php'); ?> diff --git a/js/zip.js b/js/zip.js new file mode 100644 index 000000000..ebcee80e1 --- /dev/null +++ b/js/zip.js @@ -0,0 +1,20 @@ +$(function() { + var is_chrome = navigator.userAgent.toLowerCase().indexOf("chrome") > -1; + if(!(g5_is_mobile && is_chrome)) { //모바일 크롬에서 먹통되는 현상이 있음 + $("html, body").addClass("daum_juso_body"); + } +}); + +var el_id = document.getElementById("daum_juso_wrap"); +new daum.Postcode({ + oncomplete: function(data) { + var address1 = data.address1, + address2 = ""; + if(data.addressType == "R"){ //도로명이면 + address2 = data.address2; + } + put_data2(data.postcode1, data.postcode2, address1, "", address2, data.addressType); + }, + width : "100%", + height : "100%" +}).embed(el_id); \ No newline at end of file diff --git a/mobile/skin/member/basic/zip.skin.php b/mobile/skin/member/basic/zip.skin.php index af53d64af..c187b5f92 100644 --- a/mobile/skin/member/basic/zip.skin.php +++ b/mobile/skin/member/basic/zip.skin.php @@ -8,44 +8,23 @@ add_stylesheet('',
\ No newline at end of file diff --git a/skin/member/basic/zip.skin.php b/skin/member/basic/zip.skin.php index 6ce92c7df..efd80d21e 100644 --- a/skin/member/basic/zip.skin.php +++ b/skin/member/basic/zip.skin.php @@ -8,40 +8,22 @@ add_stylesheet('', \ No newline at end of file