daum 주소 api 적용중 불필요한 코드 제거
This commit is contained in:
@ -191,5 +191,4 @@
|
|||||||
|
|
||||||
/* 우편번호 검색 */
|
/* 우편번호 검색 */
|
||||||
#daum_juso_wrap{width:100%;height:100%}
|
#daum_juso_wrap{width:100%;height:100%}
|
||||||
#daum_juso_wrap.pos_abs{position:absolute;top:0;left:0;}
|
|
||||||
html.daum_juso_body ,body.daum_juso_body {height:100%;overflow:hidden}
|
html.daum_juso_body ,body.daum_juso_body {height:100%;overflow:hidden}
|
||||||
@ -3,16 +3,15 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
|||||||
|
|
||||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||||
add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">', 0);
|
add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">', 0);
|
||||||
$daum_add_class="";
|
|
||||||
if( !is_mobile() ){
|
|
||||||
$daum_add_class = "pos_abs";
|
|
||||||
}
|
|
||||||
echo $g5['daum_juso_js'].PHP_EOL;
|
echo $g5['daum_juso_js'].PHP_EOL;
|
||||||
?>
|
?>
|
||||||
<div id="daum_juso_wrap" class="daum_juso_wrap <?php echo $daum_add_class;?>"></div>
|
<div id="daum_juso_wrap" class="daum_juso_wrap"></div>
|
||||||
<script>
|
<script>
|
||||||
jQuery(function($){
|
jQuery(function($){
|
||||||
$("html, body").addClass("daum_juso_body");
|
var is_chrome = navigator.userAgent.toLowerCase().indexOf('chrome') > -1;
|
||||||
|
if(!is_chrome){ //모바일 크롬에서 먹통되는 현상이 있음
|
||||||
|
$("html, body").addClass("daum_juso_body");
|
||||||
|
}
|
||||||
function put_data2(zip1, zip2, addr1, addr2, addr3, jibeon)
|
function put_data2(zip1, zip2, addr1, addr2, addr3, jibeon)
|
||||||
{
|
{
|
||||||
var of = window.opener.document.<?php echo $frm_name; ?>;
|
var of = window.opener.document.<?php echo $frm_name; ?>;
|
||||||
@ -33,7 +32,7 @@ jQuery(function($){
|
|||||||
of.<?php echo $frm_jibeon; ?>.value = jibeon;
|
of.<?php echo $frm_jibeon; ?>.value = jibeon;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
of.<?php echo $frm_addr3; ?>.focus();
|
of.<?php echo $frm_addr3; ?>.focus(); //안드로이드 4.3 기본브라우져에서 가끔 안나오는 현상이 있어서 일부러 적용
|
||||||
of.<?php echo $frm_addr2; ?>.focus();
|
of.<?php echo $frm_addr2; ?>.focus();
|
||||||
window.close();
|
window.close();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user