网页自动跳转代码

网址:amzoo.cn 发布时间:2013/5/30 来源:广州扬帆科技网 人气:

方案一:
<html>
<head>
<meta http-equiv="Content-Language" content="zh-CN">
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<meta http-equiv="refresh" content="0.1;url=http://www.dreamershop.com">
<title></title>
</head>
<body>
</body>
</html>

方案二:
点击链接到的是第一个内页地址,第一个内页地址的页面上加了跳转额语句,最后转到另外一个页面。
我用:
<script language=javascript>
setTimeout("window.location.href='index.asp'",1000)
</script>
参数说明:第一个参数要跳转的页面,第二个参数的跳转的时间,1000为1S。
【打印】【关闭】【加入收藏】 top↑
上一篇:浏览器的设为主页被篡改怎么办?
下一篇:XP下HTTP的403.9错误-禁止访问:连接的用户过多如何解