HTML页面跳转
本主题由 盘龙 创建于 2009-6-22 15:46:30有3种方法可以实现html的页面跳转
1,refresh 2,onload事件中加入代码 3,js实现
1.
<html>
<head>
<meta http-equiv="refresh" content="0;url=http://geekaa.com">
</head>
</html>
<head>
<meta http-equiv="refresh" content="0;url=http://geekaa.com">
</head>
</html>
2.
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>欢迎访问</title>
</head>
<body onLoad="parent.location='http://geekaa.com'">
</body>
</html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>欢迎访问</title>
</head>
<body onLoad="parent.location='http://geekaa.com'">
</body>
</html>
3.
<html>
<body>
<script language="JAVASCRIPT">
setTimeout("document.location.href='http://geekaa.com'",0);
</script>
</body>
</html>
<body>
<script language="JAVASCRIPT">
setTimeout("document.location.href='http://geekaa.com'",0);
</script>
</body>
</html>
放心注册,GeeKaa不会虚耗你半点时间,你只会发现更多乐趣。 | 立即注册 |