概述
在项目中,在我们点击加载一个页面或者查询的时候,往往需要等一段时间才能获取结果,但是在它操作的时候,我们不知道操作完成没,通常添加加载缓冲login。如下:
操作代码:
注:上面代码看着很乱,它只是一个图片的路径,直接粘贴即可,也可以换上自己的图片
操作代码:
<script type="text/javascript">
function test(){
var classPath = $("#classPath").val();
var timestamp = new Date().getTime();
if(classPath=="" || classPath=="null") {
alert("请填写 业务对象!");
return false;
}else{
$("#testTbForm").ajaxSubmit({
dataType:"json",
beforeSend:function(XMLHttpRequest){
var bHeight = $(window).height();
var loadingHtml = '<div id="refreshPage_cover_div_'+timestamp+'" style="z-index:999;position:absolute;background-color:#C8C8C8;width:100%; height:'+bHeight+'px; display: block; left: 0px;top: 0px; filter: alpha(opacity=40); -moz-opacity: 0.4; -khtml-opacity: 0.4;opacity: 0.4;">';
loadingHtml += '<div id="refreshPage_loadingHTML_'+timestamp+'" style="z-index:1000;background: none repeat scroll 0 0 #0088CC;border-radius: 10px 10px 10px 10px;left: 44%;top: 44%; position: absolute;
padding: 1%;text-align: center; width:148px;color:#FFF;"><img src="data:image/gif;base64,R0lGODlhRgBGANUAAPf///f3/+/3/+b39+b3/+bv997v99bv99bm987m98Xm973e973e77Xe763e763W76XW75zW75zO75TO5ozO5ozF5oTF5nvF5nu95nO95nO93mu93mu13mO13lq13lKt3kqt3kKl3kKl1jql1jGl1jGc1imc1iGc1iGU1hmU1hmUzhCUzhCMzgiMzgCMzv///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQFBwAwACwAAAAARgBGAAAG/8CXcEgsGo/IpHLJbDqf0Kh0Sq1ar9isdsvter9agHgMBo/JZe9ZjAQ9TunpGoBsEAgYVxw6P3Ludwkce059RSwHgHcHhE2GRBeKdyCNTI9CJpIEEZWWa0URmiadS5cgmhekpZ9DC5IHLGAuelGPGpqDRycTIVYuLS20hawrBpINRy4aCgqcVL/AwMKrZ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UW+saNtJGAQ5YocmPDIHjuGScUKGrC4opkhmTBdFmGKidgJZ8YZ5wfZbdHmnVGEcEIfIMjp5wclrAnFnYTCcAKVS5TngQfRofCBllqeGekFGqQ2BaFtPtICjjhWyUIIiy46Qlx+RTqplhx8GQWmYYKXAqecnpACCoehF+qiKMTVwgkemHrmcU+wwOqVsMDKaQjIJpvCrYvmxNymHsTJyaWYNvkqrJcki+xEJDDrQXbTmQDlBcBCISye0xhr0g0M2oagm623qsAcESR8UKUTmeKhrgsttDsqDMsy28W8WrRArBGbGjvECO2SA0O3zKop6B6HGktOv9qSNMQH3hY1MRkJw0oEw9qCx6vAXmEiRMWwOgwDyciK4PLL3kr8sRYsqJucEDAj+2ML3nrAAsFusIzjCTOT0K6qK3urshAhc7qzEEqXbASoi2L29Aos71lE1ckWycKi6z6dDjmdcmVCu5YSccK9Kr/gwtBGrK1t22Y3QbTdyU6dNxXXmnDCCU3+bfjhiCeu+OKMN+7441QEAQA7" alt="正在加载数据..."><div><em>正在加载数据...</em></div></div>';
loadingHtml += '</div>';
$("#error_info_grid").append(loadingHtml);
},
success:function(data){
if (data.success){
$.struts2_jquery.showErrorMsg("数据校验成功!",{type:"success",delay:2000});
}else {
$.struts2_jquery.showErrorMsg("数据校验失败!",{type:"success",delay:2000});
}
},
complete: function(XMLHttpRequest, textStatus){
$("#error_info_grid").remove();
},
error:function (XMLHttpRequest, textStatus, errorThrown) {
alert(textStatus);
$("#error_info_grid").remove();
}
});
}
}
</script>
<div id="error_info_grid"/>
注:上面代码看着很乱,它只是一个图片的路径,直接粘贴即可,也可以换上自己的图片
最后
以上就是还单身篮球为你收集整理的页面加载缓冲的login的全部内容,希望文章能够帮你解决页面加载缓冲的login所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复