跳转页面的加载数据提示

$("<div id='loadingCover'></div><div id='loadimg'><span>加载中,请稍等...</span></div>").appendTo('body');
var w=$(window).width(),h=$(window).height();
$('#loadingCover').css({'width':'100%','height':h,'position':'absolute','background':'#fff url(../ui/oa/template/default/home/theme/default/images/wallpaper.jpg) no-repeat center center','z-index':999999,'left':0,'top':0}).fadeTo('slow',1);
$('#loadimg').css({'position':'absolute','background':'url(../ui/oa/template/default/home/theme/default/images/loading.gif) no-repeat center center','z-index':1000000,'width':'110px','height':'64px','left':(w-110)/2,'top':((h-64)/2)-50}).find('span').css({'position':'absolute','left':0,'bottom':'-40px','width':110,'display':'block','height':40,'text-align':'center'});

你可能感兴趣的:(跳转页面的加载数据提示)