<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GBK" />
<title>跳转新网址</title>
</head>
<body style="">
<table width="830" border="0" align="center">
<tbody>
<tr>
<td align="center"><img src="" width="650" height="500" /></td>
</tr>
<tr>
<td align="center"><font style="font-size:24px"><a href="http://www.baidu.com">点击访问新网址</a></font></td>
</tr>
<tr>
<td align="center"> </td>
</tr>
<tr>
<td align="center"> </td>
</tr>
<tr>
<td align="center">
<form name="loading">
<p align="center"> <font color="#0066ff" size="2">准备跳转,请稍等</font><font color="#0066ff" size="2" face="Arial"></font> <input type="text" name="chart" size="100" style="font-family:Arial; font-weight:bolder; color:#0066ff; background-color:#fef4d9; padding:0px; border-style:none;" /> <input type="text" name="percent" size="3" style="color:#0066ff; text-align:center; border-width:medium; border-style:none;" /><br /> <script>
var bar=0
var line="||"
var amount="||"
count()
function count(){
bar=bar+1
amount =amount + line
document.loading.chart.value=amount
document.loading.percent.value=bar
if (bar<99)
{setTimeout("count()",100);}
else
{window.location = "www.baidu.com";}
}</script></p>
</form> </td>
</tr>
</tbody>
</table>
</body>
</html>
通过进度条实现几秒后跳转页面
最新推荐文章于 2022-05-12 11:18:53 发布