initial
This commit is contained in:
@@ -0,0 +1,128 @@
|
||||
var Popup_callback = function() {};
|
||||
var Popup_waitTimer;
|
||||
|
||||
function Popup_Import() {
|
||||
}
|
||||
|
||||
function Popup_Init() {
|
||||
$("#Popup_0102").click(Popup_AlertOK);
|
||||
|
||||
$("#Popup_0202").click(Popup_ConfirmYes);
|
||||
$("#Popup_0203").click(Popup_ConfirmNo);
|
||||
|
||||
$("#Popup_0303").click(Popup_WaitHide);
|
||||
}
|
||||
|
||||
function Popup_Update() {
|
||||
}
|
||||
|
||||
function Popup_Alert(msg, callback) {
|
||||
$("#Popup_0101").text(msg);
|
||||
|
||||
Popup_callback = callback;
|
||||
|
||||
Popup_AlertShow();
|
||||
|
||||
// 익스플로러 버그로 인해 딜레이 줌
|
||||
setTimeout(function() { $("#Popup_0102").focus(); }, 10);
|
||||
}
|
||||
|
||||
function Popup_AlertOK() {
|
||||
if(Popup_callback) {
|
||||
Popup_callback();
|
||||
Popup_callback = "";
|
||||
}
|
||||
|
||||
Popup_AlertHide();
|
||||
}
|
||||
|
||||
function Popup_AlertShow() {
|
||||
$("#Popup_00").show();
|
||||
$("#Popup_01").show();
|
||||
}
|
||||
|
||||
function Popup_AlertHide() {
|
||||
$("#Popup_00").hide();
|
||||
$("#Popup_01").hide();
|
||||
}
|
||||
|
||||
function Popup_Confirm(msg, callback) {
|
||||
$("#Popup_0201").text(msg);
|
||||
|
||||
Popup_callback = callback;
|
||||
|
||||
Popup_ConfirmShow();
|
||||
|
||||
// 익스플로러 버그로 인해 딜레이 줌
|
||||
setTimeout(function() { $("#Popup_0203").focus(); }, 10);
|
||||
}
|
||||
|
||||
function Popup_ConfirmYes() {
|
||||
Popup_ConfirmHide();
|
||||
|
||||
if(Popup_callback) {
|
||||
Popup_callback();
|
||||
Popup_callback = "";
|
||||
}
|
||||
}
|
||||
|
||||
function Popup_ConfirmNo() {
|
||||
Popup_callback = "";
|
||||
|
||||
Popup_ConfirmHide();
|
||||
}
|
||||
|
||||
function Popup_ConfirmShow() {
|
||||
$("#Popup_00").show();
|
||||
$("#Popup_02").show();
|
||||
}
|
||||
|
||||
function Popup_ConfirmHide() {
|
||||
$("#Popup_00").hide();
|
||||
$("#Popup_02").hide();
|
||||
}
|
||||
|
||||
function Popup_Wait(callback) {
|
||||
$("#Popup_0301").text("처리중입니다.");
|
||||
Popup_waitTimer = setInterval(Popup_WaitInvalidate, 1000);
|
||||
|
||||
$("#Popup_00").show();
|
||||
$("#Popup_03").show();
|
||||
|
||||
callback();
|
||||
}
|
||||
|
||||
function Popup_WaitShow(msg, callback) {
|
||||
clearTimeout(Popup_waitTimer);
|
||||
|
||||
Popup_callback = callback;
|
||||
|
||||
$("#Popup_0301").text(msg);
|
||||
$("#Popup_0303").show();
|
||||
|
||||
// 익스플로러 버그로 인해 딜레이 줌
|
||||
setTimeout(function() { $("#Popup_0303").focus(); }, 10);
|
||||
}
|
||||
|
||||
function Popup_WaitHide() {
|
||||
clearTimeout(Popup_waitTimer);
|
||||
|
||||
if(Popup_callback) {
|
||||
Popup_callback();
|
||||
Popup_callback = "";
|
||||
}
|
||||
|
||||
$("#Popup_0303").hide();
|
||||
$("#Popup_00").hide();
|
||||
$("#Popup_03").hide();
|
||||
}
|
||||
|
||||
function Popup_WaitInvalidate() {
|
||||
var waitMsg = $("#Popup_0302").text();
|
||||
|
||||
if(waitMsg.length >= 5) {
|
||||
waitMsg = "";
|
||||
}
|
||||
|
||||
$("#Popup_0302").text(waitMsg+".");
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
<?
|
||||
require_once('_common.php');
|
||||
?>
|
||||
|
||||
<div id="Popup_00">
|
||||
</div>
|
||||
<div id="Popup_01">
|
||||
<div id="Popup_0100" class="bg1">알 림</div>
|
||||
<div id="Popup_0101" class="bg0"></div>
|
||||
<input id="Popup_0102" type="button" value="확인">
|
||||
</div>
|
||||
|
||||
<div id="Popup_02">
|
||||
<div id="Popup_0200" class="bg1">선 택</div>
|
||||
<div id="Popup_0201" class="bg0"></div>
|
||||
<input id="Popup_0202" type="button" value="예">
|
||||
<input id="Popup_0203" type="button" value="아니요">
|
||||
</div>
|
||||
|
||||
<div id="Popup_03">
|
||||
<div id="Popup_0300" class="bg1">처 리 중</div>
|
||||
<div id="Popup_0301" class="bg0"></div>
|
||||
<div id="Popup_0302">.</div>
|
||||
<input id="Popup_0303" type="button" value="확인">
|
||||
</div>
|
||||
@@ -0,0 +1,98 @@
|
||||
@charset "utf-8";
|
||||
|
||||
#Popup_00 {
|
||||
width: 99%; height: 99%;
|
||||
background-color: #000000;
|
||||
position: absolute; top: 0px; left: 0px;
|
||||
z-index: 10;
|
||||
opacity: 0.5; filter: alpha(opacity:50);
|
||||
display: none;
|
||||
}
|
||||
|
||||
#Popup_01 {
|
||||
width: 302px; height: 142px;
|
||||
position: absolute; top: 40%; left: 50%;
|
||||
margin-left: -150px; margin-top: -70px;
|
||||
z-index: 10;
|
||||
display: none;
|
||||
}
|
||||
|
||||
#Popup_0100 {
|
||||
width: 300px; height: 20px;
|
||||
position: absolute; top: 0px; left: 0px;
|
||||
}
|
||||
|
||||
#Popup_0101 {
|
||||
width: 290px; height: 110px;
|
||||
position: absolute; top: 20px; left: 0px;
|
||||
padding: 5px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
#Popup_0102 {
|
||||
width: 200px; height: 30px;
|
||||
position: absolute; top: 100px; left: 50px;
|
||||
}
|
||||
|
||||
#Popup_02 {
|
||||
width: 302px; height: 142px;
|
||||
position: absolute; top: 40%; left: 50%;
|
||||
margin-left: -150px; margin-top: -70px;
|
||||
z-index: 10;
|
||||
display: none;
|
||||
}
|
||||
|
||||
#Popup_0200 {
|
||||
width: 300px; height: 20px;
|
||||
position: absolute; top: 0px; left: 0px;
|
||||
}
|
||||
|
||||
#Popup_0201 {
|
||||
width: 290px; height: 110px;
|
||||
position: absolute; top: 20px; left: 0px;
|
||||
padding: 5px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
#Popup_0202 {
|
||||
width: 100px; height: 30px;
|
||||
position: absolute; top: 100px; left: 40px;
|
||||
}
|
||||
|
||||
#Popup_0203 {
|
||||
width: 100px; height: 30px;
|
||||
position: absolute; top: 100px; left: 160px;
|
||||
}
|
||||
|
||||
#Popup_03 {
|
||||
width: 302px; height: 112px;
|
||||
position: absolute; top: 40%; left: 50%;
|
||||
margin-left: -150px; margin-top: -55px;
|
||||
z-index: 10;
|
||||
display: none;
|
||||
}
|
||||
|
||||
#Popup_0300 {
|
||||
width: 300px; height: 20px;
|
||||
position: absolute; top: 0px; left: 0px;
|
||||
}
|
||||
|
||||
#Popup_0301 {
|
||||
width: 290px; height: 80px;
|
||||
position: absolute; top: 20px; left: 0px;
|
||||
padding: 5px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#Popup_0302 {
|
||||
width: 20px; height: 20px;
|
||||
position: absolute; top: 50px; left: 140px;
|
||||
border: none;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
#Popup_0303 {
|
||||
width: 200px; height: 30px;
|
||||
position: absolute; top: 70px; left: 50px;
|
||||
display: none;
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
<?
|
||||
define(ROOT, '..');
|
||||
require_once(ROOT.'/f_config/config.php');
|
||||
require_once(ROOT.W.F_CONFIG.W.APP.PHP);
|
||||
require_once(ROOT.W.F_FUNC.W.FUNC.PHP);
|
||||
|
||||
CustomHeader();
|
||||
?>
|
||||
Reference in New Issue
Block a user