You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
64 lines
2.5 KiB
HTML
64 lines
2.5 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<title>loading</title>
|
|
<style type="text/css">
|
|
body {margin:0px; background:#fff;}
|
|
.ly_loading {padding:20px 0 0 13px; width:280px; height:81px; border:1px solid #b3b3b3; background:url("images/bg_ly.gif") left top repeat-x;position:relative;}
|
|
.pro_loading {width:100%;height:20px;font-size:13px;font-color:#3f3f67;font-weight:bold;}
|
|
</style>
|
|
<script type="text/javascript">
|
|
|
|
function init(){
|
|
try {
|
|
var prsMsg = parent.WebSquare.layer.processMsg;
|
|
document.getElementById("processMsgLayer").innerHTML = prsMsg;
|
|
document.getElementById("abortButton").style.display = "none";
|
|
if( window.processKey ) {
|
|
clearInterval( window.processKey );
|
|
}
|
|
|
|
window.processKey = setInterval( function(){ setColor() } , 500 );
|
|
|
|
// WEF-125 [새마을금고] Submission abort 기능 추가
|
|
// abortTrigger 클릭시 현재 통신 중인 processMsg 설정된 모든 submission을 abort한다.
|
|
var abortTrigger = parent.WebSquare.layer.abortTrigger;
|
|
if(abortTrigger === "true"){
|
|
document.getElementById("abortButton").style.display = "block";
|
|
document.getElementById("abortButton").onclick = function(){
|
|
var t_submissionIDQueue = [];
|
|
for(var i = 0;i < parent.WebSquare.layer.submissionIDQueue.length;i++){
|
|
t_submissionIDQueue.push(parent.WebSquare.layer.submissionIDQueue[i]);
|
|
}
|
|
for(var i = 0;i < t_submissionIDQueue.length;i++){
|
|
parent.WebSquare.ModelUtil.abort(t_submissionIDQueue[i]);
|
|
}
|
|
};
|
|
}
|
|
|
|
} catch(e) {
|
|
parent.WebSquare && parent.WebSquare.exception && parent.WebSquare.exception.printStackTrace(e, null , this);
|
|
}
|
|
}
|
|
|
|
window.onload = init;
|
|
|
|
var colorArr = [ "#3f3f67","#EEEEEE" ];
|
|
function setColor(){
|
|
var color = colorArr.shift();
|
|
colorArr.push(color);
|
|
document.getElementById("processMsgLayer").style.color = color;
|
|
}
|
|
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div class="ly_loading">
|
|
<div id="processMsgLayer" class="pro_loading" style="overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:200px;"></div>
|
|
<img src="images/progressingbar.gif" width="267px" height="23px" class="loading_bar" alt="로딩중">
|
|
<input id='abortButton' type='button' style="position:absolute;top:20px;right:14px;height:20px;text-align:center;word-wrap:break-word;display:none;" value="취소" />
|
|
</div>
|
|
</body>
|
|
</html>
|