用JS可以实现:setTimeout("函数名",10000)
解决方案 »
- ReportViewer报表不出数据,报错
- Excel 导入问题
- vs2008 xsd图形编辑器没了
- Response.Redirect("newsArticleSearch.aspx?id=3")中如何将newsArticleSearch.aspx以新的窗口打开呢
- 在线等:链接oracle数据库的语句
- 使用<asp:label>控件但在页面浏览显示,显示不出test属性中的"Christ"and"Oslo"请各位帮帮忙!
- 求一验证身份证号码的正则表达式
- 怎么办啊?
- 高分求助:那位大哥有作过视频点播的?
- 我要用RESPONSE,REQUEST时就不知道要导入哪一个命名空间
- 请教一个兼容性问题
- 梅花雨日历控件2.0使用问题
function goto()
{
self.location.href="default.asp";
}function ftime()
{
setTimeout(goto(),5000); //1000为一秒
}
</script><body onload="ftime()">
</body>
<head>
<title>asdf</title>
<script language="vbscript">
<!--
dim x
sub goother(x)
if x=1then
location.replace "b.htm"
end if
end sub
id=settimeout ("goother(x)",3000)
-->
</script>
</head>
<body>
3秒后自动转到b.htm
<script language="vbscript">
<!--
x=1
-->
</script>
</body>
</html>
<script language=javascript>
function gotoStart()
{
document.location.replace("start.aspx",3000);
}
function myTimer()
{
setTimeout("gotoStart()",3000);
}
</head>
<body onload="myTimer()">
</body></html>