几秒钟后自动跳转
来源:互联网 发布:淘宝win10激活码危险 编辑:程序博客网 时间:2024/04/30 04:05
<html>
<head>
<base href="<%=basePath%>">
<title>LoginFail page !!</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
</head>
<body>
<table>
<tr><td><h2><s:property value="loginError"/></h2></td></tr>
<tr><td><h2 id="time">6</h2><h3>秒钟后自动跳转到 <a href="admin/Admin-loginInput.jsp">登录页面</a></h3></td></tr>
<tr><td><h3>正在为您跳转 . . .</h3></td></tr>
</table>
<script type="text/javascript">
function toNextPage(url){
var currenttime=document.getElementById("time").innerHTML;
if(currenttime>0){
currenttime--;
document.getElementById("time").innerHTML=currenttime;
}else{
window.top.location.href=url;
}
setTimeout("toNextPage('"+url+"')",1000);
}
</script>
<script type="text/javascript">
toNextPage("admin/Admin-loginInput.jsp");
</script>
</body>
</html>
<head>
<base href="<%=basePath%>">
<title>LoginFail page !!</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
</head>
<body>
<table>
<tr><td><h2><s:property value="loginError"/></h2></td></tr>
<tr><td><h2 id="time">6</h2><h3>秒钟后自动跳转到 <a href="admin/Admin-loginInput.jsp">登录页面</a></h3></td></tr>
<tr><td><h3>正在为您跳转 . . .</h3></td></tr>
</table>
<script type="text/javascript">
function toNextPage(url){
var currenttime=document.getElementById("time").innerHTML;
if(currenttime>0){
currenttime--;
document.getElementById("time").innerHTML=currenttime;
}else{
window.top.location.href=url;
}
setTimeout("toNextPage('"+url+"')",1000);
}
</script>
<script type="text/javascript">
toNextPage("admin/Admin-loginInput.jsp");
</script>
</body>
</html>
- 几秒钟后自动跳转
- 几秒钟后页面自动跳转到指定页
- jquery setTimeout()几秒钟后跳转网页
- HTML5手机端几秒钟自动跳转
- n秒钟后页面自动跳转
- js实现几秒钟后页面自动跳转到指定页
- 三秒钟后跳转
- 使用js几秒钟后跳转到对应的页面
- 5秒钟自动跳转
- N秒钟后自动跳转的html页面,javascript
- 实现5秒钟后页面自动跳转功能
- 运行PhotonControl 会出现几秒钟后自动停止
- JS 3秒钟自动跳转
- 如何使用jquery控制页面几秒钟后跳转到其他页面
- 解决Hbase启动后,hmaster会在几秒钟后自动关闭(停掉)!!!
- 几秒钟跳转页面动态显示时间
- JS实现网页几秒钟之后跳转
- jsp页面停留几秒钟跳转
- 黑马程序员——java 之 IO读取文件排序后存入另一文件操作
- flex 与javascript的相互调用
- Http Status Code/http响应状态码
- 设计模式笔记之---策略模式
- 【IOS】多语言资源文件加载的一种解决方案
- 几秒钟后自动跳转
- myeclipse相同变量的颜色高亮
- 磁盘排序和有关的思考
- 青春划过指尖
- Ubuntu实用工具
- android文件存储
- Spring源码分析-AOP拦截器链的使用(六)
- SQL语法大全
- 修改panel的html