ASP跳转页上如何停留3秒再跳转?

来源:百度知道 编辑:UC知道 时间:2024/06/17 17:52:19
Error = Error + "<li><a href=index.asp>返回首页</a></li><li>返回: <a href="&url&">"&url&"</a></li>"
Response.Write "<br><br><table align=center><tr><td>注册成功:</td></tr><tr><td>"&error&"</td></tr></table><br>"
response.redirect "apply.html"
if Application(BBSInfo&"sysinfo")(96,0)<>"" and Application(BBSInfo&"sysinfo")(97,0)<>"" then
Call SaveSms(username,Application(BBSInfo&"sysinfo")(96,0),Application(BBSInfo&"sysinfo")(97,0))
end if
Error = Error + "<li><a href=index.asp>返回首页</a></li><li>返回: <a href="&url&">"&url&"</a></li>"

用这两个代码好了,停留3秒再跳转的。

《一》无对话框的。
<html>
<head>
<meta http-equiv="refresh" content="3;url=网址">
</head>
<body>
</body>
</html>

《二》有对话框的。
<html>
<head>
<style>
body{margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;overflow:hidden}
.t{position:relative;width:100%;height:100%;}
.d1{
border-left: #d4d0c8 1px solid;border-right: #404040 1px solid;
border-top: #d4d0c8 1px solid;border-bottom: #404040 1px solid;
width:290px;height:115px
}
.d2{
border-left: #ffffff 1px solid;border-right: #404040 1px solid;
border-top: #ffffff 1px solid;border-bottom: #808080 1px solid;
width:290px;height:115px
}
.input1
{width:75px;height:20px;font:normal 12px 宋体;}
</style>
<script language="JavaScript">
if (window.Event)
document.