Chinaunix首页 | 论坛 | 博客
  • 博客访问: 175722
  • 博文数量: 159
  • 博客积分: 7007
  • 博客等级: 准将
  • 技术积分: 1750
  • 用 户 组: 普通用户
  • 注册时间: 2008-06-17 15:05
文章分类

全部博文(159)

文章存档

2010年(39)

2009年(106)

2008年(14)

我的朋友

分类: 系统运维

2009-12-22 10:45:32

404错误提示页,5秒后跳转到主页

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
g/TR/xhtml1/DTD/xhtml1-transitional.dtd"
>
<html xmlns="g/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>错误提示页 —— test.com</title>
</head>

<body style="text-align:center; margin:0; padding:0;">
<div style="background:url(/bg.gif); width:667px; height:235px; margin:20% auto;
position:relative; text-align:left;"
>
  <div style="position:absolute; left:67px; top:79px;"><img src="/logo.gif" alt=
"m86china.cn LOGO" width="147" height="51" /></div>
  <div style="position:absolute; left:250px; top:79px; width:390px; text-align:c
enter; font-size:16px; font-family:simsun; font-weight:bold; line-height:27px;"
>
很抱歉,您访问页面时出错<br />
  5秒钟之后将会带您进入首页!</div>
</div>
<script type="text/javascript">
function isIFrameSelf(){try{if(window.top ==window){return
false;}else{return true;}}catch(e){return true;}}
function toHome(){ if(!isIFrameSelf()){ window.location.href="";}}
window.setTimeout("toHome()",1000);
</script>
</body>
</html>


阅读(389) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~