CINXE.COM
404-1
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>404-1</title> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <style type="text/css"> <!-- body { margin: 0; padding: 0; font-family: Microsoft Yahei; color: #797979; text-align: center; } img { border: 0; } a { color: #333; } a:hover { color: #f60; } .erro-img { position: relative; width: 80%; max-width: 600px; max-height: 600px; margin: 0 auto; padding-top: 50px; } .notice-text { position: absolute; left: 190px; bottom: 10px; font-size: 17px; } --> </style> </head> <body> <div class="erro-img"> <a href="http://www.ithome.com/" title="返回IT之家首页"> <img src="http://img.ithome.com/file/images/404.png" alt="404错误,没有找到页面" style="border:0;"/> </a> <span id="notice-text" class="notice-text">不要慌!<strong id="overTime" style="font-size:18px;color:red;">5</strong> 秒后将自动返回IT之家首页,请稍候...</span> </div> <script> function jump() { //if(document.title=="404-1")window.location.href = "http://www.ithome.com/?pgv_ref=404&url="+window.top.location; window.location.href = "//www.ithome.com/"; } var ot = 5; var sto; function doverTime() { ot--; sto = setTimeout('doverTime()', 1000); if(ot!=0) document.all['overTime'].innerHTML = ot; if(ot==0) { clearTimeout(sto); jump(); } } var url = document.location.href; if (url.includes('/0/794/435.htm')) { document.getElementById('notice-text').style.display = 'none'; } else { setTimeout("doverTime()", 1000); } </script> </body> </html>