62,272
社区成员
发帖
与我相关
我的任务
分享<style>
#topFill{text-align:center;position:absolute;filter:alpha(opacity=90);background-color:#eee;opacity: 0.5;-moz-opacity: 0.5; width:1024px; height:1055px;}
#alertContent{margin:400px 50px 0px 0px;text-align:center; color:red; font-size:16px; font-weight:bold}
</style><div id="topFill">
<div id="alertBox">
<div id="alertContent">数据加载中请稍候...<img src="images/loading.gif" /></div>
</div>
</div>
<script type="text/javascript">
window.onload = function(){
if(document.readyState=="complete") //数据加载
{
document.getElementById('topFill').style.display = "none";
}
}
</script>
<asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="UpdatePanel2"
DisplayAfter="500">
<ProgressTemplate>
<img src="img/loading.gif" id="img11" width="20" height="20" />
数据载入中......
</ProgressTemplate>
</asp:UpdateProgress>
<asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Conditional">
<ContentTemplate>
</ContentTemplate>
</UpdatePanel>
<html>
<body>
请等待......
<script language=javascript>
window.setTimeout("window.location.href='abc.aspx';",10);
</script></body>
</html>