<form name=loading> <p align=center> <font color="#ff0000" size="2" face="Arial">载入中,请稍等...</font><br> <input type=text name=chart size=46 style="font-weight: bolder; color: #ff0000;"> <br> <input type=text name=percent size=47 style="color: #ff0000;"> <script language="JavaScript"> <!-- 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.href = "http://www.sina.com.cn";} } //--> </script> </p> </form>
资料来源: