|
selectUserActivity.ensure_btnClick = function(event){
debugger;
var sWidth,sHeight;
sWidth=document.body.offsetWidth;//获取窗口宽度
//sHeight=screen.height;//获取屏幕高度
sHeight=document.body.offsetHeight;
var bgObj=document.createElement("div");
bgObj.setAttribute('id','bgDiv');
bgObj.style.position="absolute";
bgObj.style.top="0";
bgObj.style.background="#eee";
// bgObj.style.background="#fff";
bgObj.style.filter="progidXImageTransform.Microsoft.Alpha(style=3,opacity=25,finishOpacity=75";
bgObj.style.opacity="0.8";
bgObj.style.left="0";
bgObj.style.width=sWidth + "px";
bgObj.style.height=sHeight + "px";
bgObj.style.zIndex = "10000";
document.body.appendChild(bgObj);//设置完此div后将其显示出来
parent.parent.$('#content_loading').show();
setTimeout(function(){
justep.MultiList.windowOK();
parent.parent.$('#content_loading').hide();
document.body.removeChild(bgObj);//移除覆盖整个窗口的div层
},500);
};
|
评分
-
查看全部评分
|