进度条的实现
<title>loadpage</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
<!--
.unnamed1 { background-color: #000000}
-->
</style>
</head>
<body>
<table border=0 cellpadding=0 cellspacing=0 width="100%" height="100%">
<tr>
<form name=loading>
<td align=center>
<p align="center"> </p>
<p align="center"><font color="#00FF00" size="2"></font></p>
<p>
<input type=text name=chart size=46 style="font-family:Arial; font-weight:bolder;
color:#00FF00; background-color:black; padding:0px; border-style:none;">
<br>
<br>
<input type=text name=percent size=46 style="font-family:Arial; color:#00FF00;
text-align:center; border-width:medium; border-style:none;" class="unnamed1">
<br>
<br>
<font color="#00FF00" size="2" >
<script>
var bar = 0
var line = "||"
var amount ="||"
count()
function count(){
bar= bar+2
amount =amount + line
document.loading.chart.value=amount
document.loading.percent.value='正在查询,请稍候'
if (bar<99)
{
setTimeout("count()",50);
}
else
{
amount ="";
setTimeout("count()",50);
bar=0;
}
}
</script>
<noscript></noscript></font></p>
</td>
<!--//-->
</form>
</tr>
</table>
</body>
</html>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
<!--
.unnamed1 { background-color: #000000}
-->
</style>
</head>
<body>
<table border=0 cellpadding=0 cellspacing=0 width="100%" height="100%">
<tr>
<form name=loading>
<td align=center>
<p align="center"> </p>
<p align="center"><font color="#00FF00" size="2"></font></p>
<p>
<input type=text name=chart size=46 style="font-family:Arial; font-weight:bolder;
color:#00FF00; background-color:black; padding:0px; border-style:none;">
<br>
<br>
<input type=text name=percent size=46 style="font-family:Arial; color:#00FF00;
text-align:center; border-width:medium; border-style:none;" class="unnamed1">
<br>
<br>
<font color="#00FF00" size="2" >
<script>
var bar = 0
var line = "||"
var amount ="||"
count()
function count(){
bar= bar+2
amount =amount + line
document.loading.chart.value=amount
document.loading.percent.value='正在查询,请稍候'
if (bar<99)
{
setTimeout("count()",50);
}
else
{
amount ="";
setTimeout("count()",50);
bar=0;
}
}
</script>
<noscript></noscript></font></p>
</td>
<!--//-->
</form>
</tr>
</table>
</body>
</html>
//显示
function checkCard(){
parent.document.all.wait.height=400;
parent.document.all.cardframe.height=0;
document.location.href='Customer_Service01.aspx';
}
function hide_wait()
{
parent.document.all.wait.height=0;
parent.document.all.cardframe.height=document.body.scrollHeight;
document.body.style.overflow="hidden";
}
</script>
</HEAD>
<body onload="hide_wait()" MS_POSITIONING="GridLayout">
//隐藏
{
parent.document.all.wait.height=0;
parent.document.all.cardframe.height=document.body.scrollHeight;
document.body.style.overflow="hidden";
}
</script>
</HEAD>
<body onload="hide_wait()" MS_POSITIONING="GridLayout">
//隐藏
https://files.cnblogs.com/gwazy/%E8%BF%9B%E5%BA%A6%E6%9D%A1.rar