168、打开页面的等待

168、打开页面的等待

脚本说明:

<form name=loading>

<p align=center>

<font color="#0066ff" size="2" face="Arial">正在打开,请稍等...</font><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()",100);}

else

{window.location = "http://www.7stk.com";}

}</script></p></form>

 

Write a comment

Comments: 0