Форум о социальных сетях Поиск по форуму Инвестиции SMM обучение SMM курсы
Форум о социальных сетях Поиск по форуму Инвестиции SMM обучение SMM курсы
  • Страница 1 из 1
  • 1
Error 404 s0-a ua
#1
Воскресенье, 17.05.2009, 14:53
abgas
Заблокированные
Сообщения: 1110
Репутация: 442
Страница 404 s0-a ua ( очень простенькая страница )
ПРИМЕР СКРИПТА:
http://s0ftila.org.ua/xml/404errors0-aNEW.html
Чтобы так зделать, вставляем код ниже в блокнот и сохраняем под названием 404.html и загружаем в корень сайта(файловый менеджер)
Code
<script language="JavaScript1.2">    
// *******************************************************************    
// 404    
//  404   
//   404
//    404
// *******************************************************************      

var message="ERROR 404 ERROR" //specifys the title    
var message=message+" " //gives a pause at the end,1 space=1 speed unit, here I used 10 spaces@150 each = 1.5seconds.      
i="0" //declares the variable and sets it to start at 0    
var temptitle="" //declares the variable and sets it to have no value yet.    
var speed="400" //the delay in milliseconds between letters    
function titler(){    
if (!document.all&&!document.getElementById)    
return    
document.title=temptitle+message.charAt(i) //sets the initial title    
temptitle=temptitle+message.charAt(i) //increases the title by one letter    
i++ //increments the counter    
if(i==message.length) //determines the end of the message    
{    
i="0" //resets the counter at the end of the message    
temptitle="" //resets the title to a blank value    
}    
setTimeout("titler()",speed) //Restarts. Remove line for no-repeat.    
}    
window.onload=titler    
</script>
<HTML><head><title>404 ERROR</title></head><body bgcolor="white">

<style type="text/css">.cAdBaRhrmKZP {z-index:9000;position:absolute;top:0;left:0;width:100%} div > div.cAdBaRhrmKZP {position:fixed;}#adTextaRhrmKZP {position:absolute;top:0;left:0;width:100%;line-height:22px;background:#FFCC00;border-bottom: 1px outset;  }}</style><!--[if gte IE 5.5]><![if lt IE 9]><style type="text/css">div#aBarVaRhrmKZP {width:expression(((ignoreMe=(document.documentElement.clientWidth?document.documentElement.clientWidth:document.body.clientWidth))<200?200:  ignoreMe)+'px');  position:absolute;top:expression((ignoreMe2=document.documentElement.scrollTop?document.documentElement.scrollTop:document.body.scrollTop)+'px');  left:expression((ignoreMe=document.documentElement.scrollLeft?document.documentElement.scrollLeft:document.body.scrollLeft)+'px');  }</style><![endif]><![endif]--><div id="adBaraRhrmKZP"><div class="cAdBaRhrmKZP" id="aBarVaRhrmKZP">
<div style="position: absolute; z-index: 9001; right: 25px; top: 1px;">
<table onmousedown="this.className='downBtn'" onmouseover="this.className='overBtn'" onmouseout="this.className='outBtn'" border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="myBtnLeft"><img src="http://s21.ucoz.net/img/1px.gif" border="0"></td><td class="myBtnCenter"><div class="myBtnCont x-unselectable" unselectable="on" onclick="window.open('http://www.ucoz.ru/?uz=12137');"><a href="javascript://" onclick="return false;">Создать сайт</a></div></td><td class="myBtnRight"><img src="http://s21.ucoz.net/img/1px.gif" border="0"></td></tr></tbody></table>
</div>
<div style="position: absolute; z-index: 9001; right: 5px; top: 3px;">
<a href="javascript://" onmouseover="document.getElementById('clobutaRhrmKZP').src='http://s25.ucoz.net/img/bn/clo0.gif'" onmouseout="document.getElementById('clobutaRhrmKZP').src='http://s25.ucoz.net/img/bn/cl0.gif'" onclick="document.getElementById('adBaraRhrmKZP').style.display='none';  return false;"><img id="clobutaRhrmKZP" title="Закрыть" src="http://s25.ucoz.net/img/bn/cl0.gif" align="absmiddle" border="0" width="14" height="14"></a>
</div>
<div id="adTextaRhrmKZP"><iframe id="adIfraRhrmKZP" allowtransparency="true" style="height: 22px; background-color: rgb(255, 204, 0);" src="http://a.ucoz.net/a/?ref=http%3A%2F%2Fip.ucoz.lv%2F&par=gIVQoYc8exz7xnM007UUbvvmbkdaYGLzlhKXLAi7bI1jz0BawPmo8W1DiqUXCV19p1xDT7GIxeKYMz7gjzyKNaa2meZzvi5pabSsXkkxA5_4jsRXkr1NisLdc4U4JfU7GbkpYfUx  xQ==" scrolling="no" width="100%" frameborder="0">  </iframe></div>
</div></div><script type="text/javascript">document.getElementById("adBaraRhrmKZP").style.height=document.getElementById("adTextaRhrmKZP").offsetHeight+'px';  </script>

<table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%">
<tbody><tr><td align="center" valign="middle">

<table border="0" cellpadding="0" cellspacing="0" width="500" height="100">
<tbody><tr>
<td bgcolor="#041488">
<table border="0" cellpadding="4" cellspacing="1" width="500" height="100">
<tbody><tr>

<td align="center" bgcolor="#cad0fb" valign="middle" height="30"><span style="font-weight: bold;">404 ERROR</span></td>
</tr>
<tr>
<td align="center" bgcolor="white" valign="middle">   

<style type="text/css">   
.suckerdiv ul{   
margin: 0;   
padding: 0;   
list-style-type: none;   
width: 200px; /* Width of Menu Items */   
border-bottom: 1px solid #ccc;   
}   

.suckerdiv ul li{   
position: relative;   
}   

/*Sub level menu items */   
.suckerdiv ul li ul{   
position: absolute;   
width: 200px; /*sub menu width*/   
top: 0;   
visibility: hidden;   
}   

/* Sub level menu links style */   
.suckerdiv ul li a{   
display: block;   
overflow: auto; /*force hasLayout in IE7 */   
color: black;   
text-decoration: none;   
background: #fff;   
padding: 1px 5px;   
border: 1px solid #ccc;   
border-bottom: 0;   
}   

.suckerdiv ul li a:visited{   
color: black;   
}   

.suckerdiv ul li a:hover{   
background-color: #377CB4;   
}   

.suckerdiv .subfolderstyle{   
background: url(http://promax.pp.ru/imagesmenu/arrow-list.gif) no-repeat center right;   
}   

/* Holly Hack for IE \*/   
* html .suckerdiv ul li { float: left; height: 1%; }   
* html .suckerdiv ul li a { height: 1%; }   
/* End */   

</style>   

<script type="text/javascript">   
var menuids=["suckertree1"]   

function buildsubmenus(){   
for (var i=0; i<menuids.length; i++){   
var ultags=document.getElementById(menuids[i]).getElementsByTagName("ul")   
for (var t=0; t<ultags.length; t++){   
ultags[t].parentNode.getElementsByTagName("a")[0].className="subfolderstyle"   
if (ultags[t].parentNode.parentNode.id==menuids[i])   
ultags[t].style.left=ultags[t].parentNode.offsetWidth+"px"   
else   
ultags[t].style.left=ultags[t-1].getElementsByTagName("a")[0].offsetWidth+"px"   
ultags[t].parentNode.onmouseover=function(){   
this.getElementsByTagName("ul")[0].style.display="block"   
}   
ultags[t].parentNode.onmouseout=function(){   
this.getElementsByTagName("ul")[0].style.display="none"   
}   
}   
for (var t=ultags.length-1; t>-1; t--){   
ultags[t].style.visibility="visible"   
ultags[t].style.display="none"   
}   
}   
}   

if (window.addEventListener)   
window.addEventListener("load", buildsubmenus, false)   
else if (window.attachEvent)   
window.attachEvent("onload", buildsubmenus)   
</script>   

<div class="suckerdiv">   
<ul id="suckertree1">   
<li><a href="/" title="">HOME</a></li>   
<li><a href="/forum/" title="">FORUM</a>   

</ul>   
</li></ul>   
</li>   
</ul></div>
</td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
</td>
</tr></tbody></table>
<!-- 0.00361 (s25) --></body></HTML>

Есле хотите, можете скачать готовую , и просто загрузите ее в файловый менеджер...
http://s0ftila.org.ua/xml/404new.zip

источник : www.s0ftila.at.ua

Пост отредактировал abgas - Воскресенье, 17.05.2009, 14:54
#2
Воскресенье, 17.05.2009, 15:23
b@mboo4aaa
Заблокированные
Сообщения: 315
Репутация: 155
О боже cry
На странице вего одна таблица, а кода херова туча biggrin на 7 кб.
COOLRAP.RU [BETA] - Уже скоро .. )
#3
Воскресенье, 17.05.2009, 16:03
2pac
Заблокированные
Сообщения: 499
Репутация: 106
ха..фигня какая-то
#4
Воскресенье, 17.05.2009, 16:17
abgas
Заблокированные
Сообщения: 1110
Репутация: 442
Code
( очень простенькая страница )
dry dry
  • Страница 1 из 1
  • 1
Поиск:
Форум
Социальные сети
Хостинг от uCoz