代码实现过程
css:
javascript:
html:
<div id="progressBar">数据加载中,请稍等...</div>
css:
#progressBar {
margin: 0;
font-size: 12px;
line-height: 100%;
font-family: Arial, sans-serif;
border: solid 2px #86A5AD;
background: white url(images/load.gif) no-repeat 10px 10px;
display: block;
width: 148px;
height: 28px;
position: fixed;
top: 50%;
left: 50%;
margin-left: -74px;
margin-top: -14px;
padding: 10px 10px 10px 50px;
text-align: left;
line-height: 27px;
font-weight: bold;
position: absolute;
z-index: 2001;
}
javascript:
$('#progressBar ').fadeOut(600);