Страница 5 из 5

Re: Страница 404

СообщениеДобавлено: 27 сен 2009, 08:44
SOKOJI
Andryxa, все там работает, может у вас просто браузер не поддерживает автоматический редирект.

Re: Страница 404

СообщениеДобавлено: 05 окт 2009, 21:09
Slink
AllCity писал(а):Супер мне понравилось но я бы немного доработал... например blink сделал бы через скрипт а Press any link to continue заменил на Press any key to continue ну и разуется этот скрипт:
Код: Выделить всё
<script type="text/javascript">
document.onkeypress = redir;
function redir(){document.location.href = '/';}
</script>


Работает только в IE =(

Re: Страница 404

СообщениеДобавлено: 08 ноя 2009, 22:21
AllCity
Slink, на момент когда писался скрипт он работал в ФФ3......

Re: Страница 404

СообщениеДобавлено: 23 май 2010, 12:53
ВэйДлин
Моя круче всех :P
Установка: создать в корне сайта файл 404.htm и закинуть в него код

Изображение

Код: Выделить всё
<head>
<title>Страница не найдена</title>
<style type="text/css">
body{background:#fff; margin:0; padding:0; font-family:sans-serif; font-size:12px; color:#444;}
a{color:#444; outline:none; text-decoration:none; border-bottom:1px dotted #777;}
.content{margin:50px auto; padding:100px 0 0 0; width:527px; height:454px; background:url(http://s51.radikal.ru/i133/1005/b4/4b31a5c6a536.jpg) top no-repeat; line-height:20px; position:relative;}
.text{position:absolute; top:83px; left:28px; width:365px;}
h1{font-size:14px; color:#eee; margin:0 0 10px 0; padding:0; font-weight:normal; letter-spacing:-1px}
.contacts{margin:12px 0 0 0; padding:5px 0 0 0; border-top:1px dotted #999;}
.tpllinks{position:absolute; margin:20px 0 0 0; color:#888; font-size:11px;}
.tpllinks a{color:#888; border-bottom:1px dotted #888;}
.tpllinks:hover, .tpllinks a:hover{color:#555;}
.counters{position:absolute; bottom:1px; right:1px;} .counters img{width:1px; height:1px;}
</style>
</head>
<body>
<div class="content">
<div class="text">
<h1>К сожеления страница не найдена</h1>
К сожеления страница не найдена
</div>
</div>
</div>
</body>
</html>