改改这个试试.
<HTML>
<HEAD>
<META http-equiv='Content-Type' content='text/html; charset=gb2312'>
<TITLE>打开网页的进度条</TITLE>
</HEAD>
<BODY >
<form name=loading>
 <p align=center> <font color="#0066ff" size="2" face="Arial">载入中,请稍等...</font><br>
 <input type=text name=chart size=46 style="font-family:Arial; font-weight:bolder; color:#0066ff; background-color:#fef4d9; padding:0px; border-style:none;">
 <br>
 <input type=text name=percent size=47 style="color:#0066ff; text-align:center; border-width:medium; border-style:none;">
 <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=bar+"%" 
if (bar<99) 
{setTimeout("count()",50);} 
else 
{window.location = "admin/login.asp";} 
}</script>
 </p>
</form>
</BODY></HTML>




 
											





 
	    

 
	