function _ajaxLoading(msg){
$("<div class=\"datagrid-mask\" style=\"z-index:9998;\"></div>").css({display:"block",position:"fixed",width:"100%",height:"100%"}).appendTo("body");
$("<div class=\"datagrid-mask-msg\" style=\"z-index:9999;\"></div>").html(msg).appendTo("body").css({display:"block",position:"fixed",left:($(document.body).outerWidth(true) - 190) / 2,bottom:($(window).height() ) / 10});
}
function _ajaxLoadEnd(){
$(".datagrid-mask").remove();
$(".datagrid-mask-msg").remove();
}
两个函数,一个弹出,一个关闭。
easyui的弹出浮层(加载中...)的效果。
最新推荐文章于 2024-07-16 22:31:12 发布