`

页面登录进度条

 
阅读更多

<form name=loading>
<TABLE width="100%" height="100%" valign="middle">
<TR>
<TD align="center"><font color="7285CF">正在载入首页,请稍候.......</font><BR></TD>
</TR>
<TR>
<TD align="center"><input type=text name=chart size=46 style="font-family:Arial; font-weight:bolder; color:7285CF; background-color:white; padding:0px; border-style:none;"><input type=text name=percent size=46 style="font-family:Arial; color:FF0000; text-align:center; border-width:medium; border-style:none;"></TD>
</TR>
</TABLE>
<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()",100);}
else
{window.location = "http://www.163.com

";}
}
</script>

</form>
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics