HTML必须包含以下代码:
head里必须有:
<style type="text/css">
.mask_loading
{
text-align:center;
z-index:2000;
background-color:#000000;
position:absolute;
top:0px;
left:0px;
opacity:0.5;
filter: Alpha(Opacity=60);
}
</style>
body里必须有:
<!-------------其他东西写在这---------------->
<div id="loadingdiv" class="mask_loading" style="display:none">
</div>
<div id="loadingimg" style="position: absolute; z-index: 2014; display:none">
<img src="image/loading.gif" alt="" border="0px" height="30px" width="30px" />
<!------------------