Файлы.ru
Скрипты для admin
Поиск

Меню сайта

Форма входа

Категории раздела

Календарь
«  Май 2024  »
ПнВтСрЧтПтСбВс
  12345
6789101112
13141516171819
20212223242526
2728293031

Архив записей

Наш опрос
Нравиться ли вам сайт?
Всего ответов: 86

Мини-чат

Друзья сайта

Статистика

Онлайн всего: 1
Гостей: 1
Пользователей: 0

Приветствую Вас, Гость · RSS 19.05.2024, 06:47

╔══╦╗╔══╦═══╦╗╔╦══╦════╦╗──╔╗
║╔═╣║║╔═╣╔═╗║║║║╔╗║═╗╔═║║──║║
║║─║╚╝║─║╚═╝║║║║║║║─║║─║╚══╣║
║║─║╔╗║─║╔══╣║╔║║║║─║║─║╔═╗║║
║╚═╣║║╚═╣║──║╚╝║║║║─║║─║╚═╝║║
╚══╩╝╚══╩╝──╚══╩╝╚╩─╚╝─╩═══╩╝


Скрипт бесплатных доменов:
<IFRAME width="234" height="60" frameborder="0" scrolling="no" marginwidth="0" marginheight="0" src="http://my.dot.tk/cgi-bin/amb/ambassador.dottk?nr=206821::6724129"></IFRAME>


 
Прикольный скрипт ЛИЧНЫХ СООБЩЕНИЙ.

Крутой Скрипт...Многим может понравица!

Устанавливаем: панель/управление дизайном/личные сообщения (лс)

И от туда всё удаляете,

И ставите этот код: 

Code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" id="vkontakte"> 
<head> 
<META http-equiv="content-type" content="text/html; charset=windows-1251"> 
<TITLE>Личные Сообщения (ЛС)</TITLE> 
<LINK rel="stylesheet" href="http://vkontakte.ru/css/rustyle.css" type="text/css"> 
<LINK rel="stylesheet" href="http://vkontakte.ru/css/profile.css?3" type="text/css"><script src='js/simpleajax.js?3'></script><script src='js/effects.js?6'></script><script src='js/ajax.js'></script><script src='js/activity.js?10'></script><script src='js/lib/cookie.js'></script><script src="js/langRus.js?2"></script><script src='js/audio.js?2'></script><script src='js/swfobject.js'></script><LINK rel="stylesheet" href="css/player.css" type="text/css"><script src='js/lib/utils.js?2'></script> 

<LINK rel="shortcut icon" href="http://vkontakte.ru/images/favicon.ico"> 
<!--[if lte IE 6]><style type="text/css" media="screen">/* <![CDATA[ */ @import url(http://vkontakte.ru/css/ie.css); /* ]]> */</style><![endif]--> 
<!--[if gte IE 7]><style type="text/css" media="screen">/* <![CDATA[ */ @import url(http://vkontakte.ru/css/ie7.css); /* ]]> */</style><![endif]--> 

<script type="text/javascript"> 
window.onload=function(){ 
Nifty("ul.tabs a","small top"); 
Nifty("ul.buttonRow a","small"); 
Nifty("div.leftAd","small transparent"); 
Nifty("div.selPad","small transparent"); 
Nifty("div.myPad","small transparent"); 

</script> 

</HEAD><BODY> 
        <DIV id="pageLayout"> 
        <DIV id="pageHeader"> 
               
        <DIV id="quickSearch"> 
        <FORM method="get" action="search.php" name="qsearch"> 
        </FORM></DIV><UL class="topNav"> 
        <LI style="width:6.0em" align="left"><A href="http://andreq1.ucoz.ru/" target="null">главная</A></LI></UL></DIV><DIV id="sideBar">Ссылки</DIV> 
        <DIV id="pageBody" class="pageBody"> 
        <DIV id="wrapH"> 
        <DIV id="wrapHI"> 
        <DIV id="header"> 
        <H1> Личные Сообщения (ЛС)</H1></DIV></DIV></DIV><DIV id="wrap2"><DIV id="wrap1"><DIV id="content"><DIV id="userProfile" class="clearFix"></DIV></DIV></DIV></DIV></DIV><DIV id="bFooter"><P align="center"><A href="club2007">!!здесь может быть ваша реклама!!</A></P> 
        </DIV>        
        <DIV id="bFooter">        
        <P></P> 
        </DIV> 
</BODY></HTML> 

Скрипт Авто добавление вашего сайта в поисковики для uCoz
23.12.2009, 14:08

Создаем новую страницу и пихаем туда этот код:


<center><table summary="" cellpadding="0" cellspacing="0" width="300px"><tbody><tr><td width="19"><img src="http://www.seoexp.com/images/PAMKA_03.gif"></td><td background="http://www.seoexp.com/images/PAMKA_05.gif"> </td><td width="27"><img src="http://www.seoexp.com/images/PAMKA_07.gif"></td></tr><tr><td background="http://www.seoexp.com/images/PAMKA_14.gif"></td><td bgcolor="#efefef">  
<style type="text/css">  
<!--  
body{font:10px Verdana,Tahoma,sans-serif;color:Black;}  
td{font:10px Verdana,Tahoma,sans-serif;color:Black;}  
.aa{color:black;text-decoration:none;font-size:9px;font-family:verdana;}  
.aa:hover{color:black;text-decoration:underline;font-size:9px;font-family:verdana;}  
-->  
</style>  
[r]<h3 style="font-family: verdana; font-size: 15px;">Автоматическая регистрация сайта  
  </h3>[/r]<table border="0" cellpadding="2"><form action="http://www.seoexp.com/ru/seo_tools/auto_submitter/" method="post"></form><tbody><tr><td>Название сайта:  
<input name="sitename" style="width: 275px;" type="text"></td><td rowspan="5" valign="top"><div style="width: 120px;"><input name="SEs[]" value="YANDEX" id="1" checked="checked" type="checkbox"> <label for="1">Yandex.ru</label>  
<input name="SEs[]" value="RAMBLER" id="2" checked="checked" type="checkbox"> <label for="2">Rambler.ru</label>  
<input name="SEs[]" value="MAIL" id="3" checked="checked" type="checkbox"> <label for="3">Mail.ru</label>  
<input name="SEs[]" value="ALEXA" id="4" checked="checked" type="checkbox"> <label for="4">Alexa.com</label>  
<input name="SEs[]" value="INFOTIGER" id="5" checked="checked" type="checkbox"> <label for="5">InfoTiger.com</label>  
<input name="SEs[]" value="SPLATSEARCH" id="6" checked="checked" type="checkbox"> <label for="6">SplatSearch.com</label>  
<input name="SEs[]" value="WALHELLO" id="7" checked="checked" type="checkbox"> <label for="7">Walhello.com</label>  
</div></td></tr><tr><td>URL главной страницы сайта:  
<input name="siteurl" value="http://" style="width: 275px;" type="text"></td></tr><tr><td>Краткое описание сайта:  
<textarea name="sitedescr" wrap="soft" style="width: 275px; height: 50px;"></textarea></td></tr><tr><td>Контактное лицо:  
<input name="face" style="width: 275px;" type="text"></td></tr><tr><td>E-mail контакного лица:  
<input name="facemail" style="width: 275px;" type="text"></td></tr><tr><td colspan="2" align="center"><input name="go" value="foo" type="hidden"><input name="go" value="Зарегистрировать" style="width: 150px;" onclick="this.value='Подождите...'; this.disabled=true; submit();" type="submit"></td></tr></tbody></table></td><td background="http://www.seoexp.com/images/PAMKA_12.gif"> </td></tr><tr><td><img src="http://www.seoexp.com/images/PAMKA_16.gif"></td><td background="http://www.seoexp.com/images/PAMKA_18.gif"> </td><td><img src="http://www.seoexp.com/images/PAMKA_20.gif"></td></tr></tbody></table></center> 




Генератор ботов для uCoz

Надоели уже начинающие вебмастера, которые просят зарегистрироваться на их сайте. Типа "регнись, дам +". Ведь если юзер регнулся не по своей воле, его активностью на сайте и не запахнет. Вот генератор, который автоматически регистрирует акки Ботов 
1. Заходим в админку! (обязательно!) 
2. Заливаем к себе в файловый менеджер скаченный файл html
3. Запускаем файл, ждем. 
Пароль, Логин, ICQ, E-mail, Страна - генерируются

Скорость конечно не бешеная, но быстрее чем ходить и выпрашивать регистрации 
Источник: http://cloddy.org/

Скачать Генератор ботов для uCoz
Скачать Генератор ботов для uCoz с зеркала


Сайт для получения прямых ссылок


Поиск v.3

Для начало зайдём в панель управления > управление дизайном > таблица стилей (CSS). 
И в любое место вставте данные классы CSS:

Code
.searchForm {float: right; width: 260px; position: relative; right: 65px; top: 22px;} 
.schQuery {float: left; width: 205px;} 
.schBtn {float: right; width: 50px;} 
input.queryField {height: 22px; width: 205px; color: #515151; line-height: 22px; font-size: 10pt; background: url('http://iucoz.ru/other/vs2.gif') repeat-x; border-top: 1px solid #008bd4; border-left: 1px solid #008bd4; border-right: 1px solid #ffffff; border-bottom: 1px solid #ffffff;} 
input.searchSbmFl {width: 48px; height: 16px; background: url('http://iucoz.ru/other/button.gif') no-repeat; color: #ffffff; border: none; font-size: 7pt; padding-bottom: 2px; position: relative; top: 3px;}

 - кнопка входа, смотреть пример что выше всего текста.

- фон внутри поля ввода текста в поиск.

За тем в любое место вставьте данный код (где хотите видеть данный поиск): 

Code

<div class="searchForm"><form onsubmit="this.sfSbm.disabled=true" method="post" style="margin:0px" action="ССЫЛКА НА САЙТ/news/"><div align="center" class="schQuery"><input type="text" name="query" maxlength="30" size="20" class="queryField" /></div><div align="center" class="schBtn"><input type="submit" class="searchSbmFl" name="sfSbm" value="Найти" /></div><input type="hidden" name="a" value="13" /></form></div>




Автораздача icq на Вашем сайте (значительно увеличивает посещаемость сайта)


<div align="center"><b>Автораздача ICQ<br></b><br>Каждый день в 14.00<br><img src="http://dreamprogs.net/files/images/icqfree.gif"><br><b><br>Номер и пароль:<br><script type="text/javascript">try { var nlocument.getElementById('menuDiv').getElementsByTagName('a'); var found=-1; var urlocument.location.href+'/'; var len; for (var i;i<nl.length;i++){ if (url.indexOf(nl[i].href)>){ if (found==-1 || len<nl[i].href.length){ found=i; len=nl[i].href.length; } } } if (found>){ nl[found].className='ma'; } } catch(e){}</script><div style="width: 100%; position: relative;" class="modBlock" title="Блок управления"><div id="md117" class="modBlock1" style="border: 1px solid rgb(180, 189, 195); background: rgb(240, 243, 245) none repeat scroll 0% 50%; width: 100%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; text-align: center; cursor: pointer;" onclick="if(document.getElementById('d117').style.display=='none'){document.getElementById('d117').style.display=''; document.getElementById('md117').style.background='#D1DAE0';}else{document.getElementById('d117').style.display='none'; document.getElementById('md117').style.background='#F0F3F5';}"><img id="i117" src="http://src.ucoz.net/img/fr/ar2.gif" border="0" height="4" width="7"></div><div id="d117" class="modBlock2" style="border-left: 1px solid rgb(180, 189, 195); border-right: 1px solid rgb(180, 189, 195); border-bottom: 1px solid rgb(180, 189, 195); background: rgb(240, 243, 245) none repeat scroll 0% 50%; position: absolute; z-index: 81; left: 0pt; display: none; width: 100%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; text-align: center; padding-top: 3px; padding-bottom: 3px;">Ждите 14.00</div></div><br></b><b><font color="#3693d1"><br>Не успел взять ICQ номерок?</font></b><br>Каждый день здесь появляется новый номер ICQ.<br></div>

Заходим в ПУ-->Управление дизайном. И на тех страницах, где хотим видеть снег, перед </head> ставим это:


<SCRIPT type=text/javascript>   
// Скрипт снега  

var snowmax=30   
var snowcolor=new Array("#AAAACC","#DDDDFF","#CCCCDD","#F3F3F3","#F0FFFF")   
var snowtype=new Array("Arial Black","Arial Narrow","Times","Comic Sans MS")   
var snowletter="*"   
var sinkspeed=0.9   
var snowmaxsize=22   
var snowminsize=8   
var snowingzone=1   
var snow=new Array()   
var marginbottom   
var marginright   
var timer   
var i_snow=0   
var x_mv=new Array();   
var crds=new Array();   
var lftrght=new Array();   
var browserinfos=navigator.userAgent   
var ie5=document.all&&document.getElementById&&!browserinfos.match(/Opera/)   
var ns6=document.getElementById&&!document.all   
var opera=browserinfos.match(/Opera/)   
var browserok=ie5||ns6||opera   
function randommaker(range) {   
rand=Math.floor(range*Math.random())   
return rand   
}   
function initsnow() {   
if (ie5) {   
marginbottom = document.body.clientHeight   
marginright = document.body.clientWidth   
}   
else if (ns6) {   
marginbottom = document.body.clientHeight   
marginright = window.innerWidth   
}   
else if (opera) {   
marginbottom = document.documentElement.clientHeight   
marginright = document.body.clientWidth   
}   
var snowsizerange=snowmaxsize-snowminsize   
for (i=0;i<=snowmax;i++) {   
crds[i] = 0;   
lftrght[i] = Math.random()*15;   
x_mv[i] = 0.03 + Math.random()/10;   
snow[i]=document.getElementById("s"+i)   
snow[i].style.fontFamily=snowtype[randommaker(snowtype.length)]   
snow[i].size=randommaker(snowsizerange)+snowminsize   
snow[i].style.fontSize=snow[i].size   
snow[i].style.color=snowcolor[randommaker(snowcolor.length)]   
snow[i].sink=sinkspeed*snow[i].size/5   
if (snowingzone==1) {snow[i].posx=randommaker(marginright-snow[i].size)}   
if (snowingzone==2) {snow[i].posx=randommaker(marginright/2-snow[i].size)}   
if (snowingzone==3) {snow[i].posx=randommaker(marginright/2-snow[i].size)+marginright/4}   
if (snowingzone==4) {snow[i].posx=randommaker(marginright/2-snow[i].size)+marginright/2}   
snow[i].posy=randommaker(2*marginbottom-marginbottom-2*snow[i].size)   
snow[i].style.left=snow[i].posx   
snow[i].style.top=snow[i].posy   
}   
movesnow()   
}  

function movesnow() {   
for (i=0;i<=snowmax;i++) {   
crds[i] += x_mv[i];   
snow[i].posy+=snow[i].sink   
snow[i].style.left=snow[i].posx+lftrght[i]*Math.sin(crds[i]);   
snow[i].style.top=snow[i].posy  

if (snow[i].posy>=marginbottom-2*snow[i].size || parseInt(snow[i].style.left)>(marginright-3*lftrght[i])){   
if (snowingzone==1) {snow[i].posx=randommaker(marginright-snow[i].size)}   
if (snowingzone==2) {snow[i].posx=randommaker(marginright/2-snow[i].size)}   
if (snowingzone==3) {snow[i].posx=randommaker(marginright/2-snow[i].size)+marginright/4}   
if (snowingzone==4) {snow[i].posx=randommaker(marginright/2-snow[i].size)+marginright/2}   
snow[i].posy=0   
}   
}   
var timer=setTimeout("movesnow()",50)   
}  

for (i=0;i<=snowmax;i++) {   
document.write("<span id='s"+i+"' style='position:absolute;top:-"+snowmaxsize+"'>"+snowletter+"</span>")   
}   
if (browserok) {   
window.onload=initsnow   
}   
</SCRIPT>




TV на сайт
<DIV align="center"><IMG alt="" src="http://tv.ne7.eu/telek.jpeg" border="0"></DIV><DIV align="center"><SELECT name="href" onchange="sel(this.value);"><OPTION value="" selected="">Переключатель каналов<OPTION value="http://music.rtvi.ru/bin/asx.pl?br=medium">RTVI Муз ТВ<OPTION value="mms://38.99.140.151/rtd/brt/ch10.asf">РЕН-ТВ<OPTION value="mms://video.rfn.ru/rtr-planeta">РТР Планета<OPTION value="http://www.rambler-audio.ru/asx/video/special/eurosportnews/eurosport.asx">EuroSportRu<OPTION value="mms://tv.gldn.net/A1">A-ONE<OPTION value="http://www.webtelek.com/media/mirtv300.asx">МИР ТВ<OPTION value="mms://194.135.105.209/tv1">WIM1<OPTION value="mms://194.135.105.209/tv2">WIM2<OPTION value="mms://194.135.105.209/tv3">WIM3<OPTION value="mms://194.135.105.209/tv4">WIM4<OPTION value="mms://video.rfn.ru/vesti_24">Вести<OPTION value="http://www.kulturatv.kiev.ua/Kultura-EU.asx">Культура ТВ<OPTION value="http://live.1internet.tv/live-efir?wmbitrate=500000">ОРТ ТВ<OPTION value="mms://195.244.137.207:81">ПБК Музыкальный<OPTION value="mms://213.232.226.11/MIRTV_300">Мир ТВ<OPTION value="mms://www.sgatv.muh.ru/sgutv">СГУ ТВ<OPTION value="mms://194.58.79.189/PublishingPoint%20wTv">W-TV<OPTION value="mms://38.100.138.222/max-online">МАКС ТВ<OPTION value="mms://video.corbina.tv/live">"Живое ТВ"<OPTION value="mms://mms.amtv.ru/BizOne">Бизнес ТВ<OPTION value="mms://stream.grafton.lv/live_tv5">TV5 Латвия<OPTION value="http://on-tv.ru/asx/tv_id642.asx">Первый документальный<OPTION value="mms://media.stv.lv/stvsport">STV Sport<OPTION value="mms://media.stv.lv/stvclip2">STV Music<OPTION value="http://webteleradio.com/tv/one.wpl">Первый музыкальный<OPTION value="http://video.rutube.ru/online/698129.flv">Шансон ТВ<OPTION value="http://www.disco80.ru/discotv.php">Дискотека 80-х<OPTION value="http://media.wnet.ua/lists/24.asx">24-й канал<OPTION value="http://www.tvr.by/liveair/btv.asx">Беларусь ТВ<OPTION value="http://www.1tv.ru/owa/win/ort6_itv.asx_file_z?p_ch=1tvsport&p_bt=100">Спорт на Первом<OPTION value="http://cluster.quantumart.ru/broadcast/default.aspx?media=rutv">RU ТV<OPTION value="http://www.mtk-twins.ru/intensiv/at0/BAR.wmv">Интенсивное обучение<OPTION value="http://www.1tv.ru/owa/win/ort6_itv.asx_file_z?p_ch=1tvbest&p_bt=500">Лучшее на Первом<OPTION value="http://www.1tv.ru/owa/win/ort6_itv.asx_file_z?p_ch=fz&p_bt=500">Фабрика звёзд<OPTION value="mms://212.1.238.70/ts_tv1">Твой Строй ТВ<OPTION value="http://video.rutube.ru/online/618784.flv">Союз<OPTION value="http://tv.sr.ru/testtv.asx">Центр<OPTION value="http://www.tvr.by/liveair/btv.asx">СРТВ<OPTION value="mms://63.218.83.51/MaksTv">МаксТВ<OPTION value="mms://194.58.79.189/PublishingPoint" wTv="">ВТВ<OPTION value="http://video.rutube.ru/online/157933.flv">ТДК<OPTION value="mms://81.13.20.10/sr_video">Специальное Радио<OPTION value="mms://media.caucasus.net/station7">Детский мир<OPTION value="mms://media.caucasus.net/station5">Наше новое кино<OPTION value="http://on-tv.ru/asx/tv_id10.asx">Муз ТВ</OPTION></SELECT></DIV><DIV id="mus" align="center"></DIV><script>function sel(href){if(href=='') mus.innerHTML="";else mus.innerHTML="<EMBED type=application/x-mplayer2 src="+href+" width=750 height=600>";}sel('');</script>
Как изменит курсор мыши на вашем сайте ??? Очень просто, вот этим кодом !!!

вставляем етот код на страницу где вы хотите изменить курсор мыши

Code 
body {cursor: url('cursor.cur');} 
a {cursor: url('cursor2.cur');} 
a img {cursor: url('cursor3.cur');}

где ('cursor.cur') эта путь к курсору мышки например ---> body {cursor: url('http://xxxxxx.xx/cursor.cur');} 
заходим в админку, далее "Управление дизайном" ---> "Управление таблицами стилей (CSS)"

Code 
/* General Style */ 
a:link {text-decoration:none; color:#C00202;} 
a:active {text-decoration:none; color:#C00202;} 
a:visited {text-decoration:none; color:#C00202;} 
a:hover {text-decoration:none; color:#FF9900;}

td, body {font-family:verdana,arial,helvetica; font-size:8pt;} 
body {cursor: url('cursor.cur');} ---> нада воставить эти строки как в примере 
a {cursor: url('cursor2.cur');} 
a img {cursor: url('cursor3.cur');} 
form {padding:0px;margin:0px;} 
input,textarea,select {vertical-align:middle; font-size:8pt; font-family:verdana,arial,helvetica;} 
.copy {font-size:7pt;} 
.small {font-size:8pt;} 
h1{font-family:Arial,Sans-Serif;color:#C00202;font-size:13px;margin:0px 0px 0px 0px} 
h2{font-family:Arial,Sans-Serif;color:#C00202;font-size:12px;margin:0px 0px 0px 0px}

готово ![b][/b][code][/code][code][hide][/hide] 


 разрешения экрана 
ВОТ :

<script language="JavaScript"> 
<!-- 
var height=0; var width=0; 
if (self.screen) { 
width = screen.width 
height = screen.height 

else if (self.java) { 
var jkit = java.awt.Toolkit.getDefaultToolkit(); 
var scrsize = jkit.getScreenSize(); 
width = scrsize.width; 
height = scrsize.height; 

//--> 
</script> 
В том месте, где необходимо пишется: 
<script language="JavaScript"> 
<!-- 
if (width > 0 && height > 0) { 
document.writeln('Разрешение монитора: ',width,'x',height) 
} else { 
document.writeln('неизвестно') 

//--> 
</script> 


вот код бегающих слов за курсором

<script language="javascript">

// ENTER TEXT BELOW. CAN *NOT* INCLUDE NORMAL HTML CODE. 
var text='WELCOME to CS portal';

var delay=20; // SPEED OF TRAIL 
var Xoff=0; // PIXEL COUNT FROM THE LEFT OF THE CURSOR (- VALUES GO TO LEFT) 
var Yoff=-30; // PIXEL COUNT FROM THE TOP OF THE CURSOR (- VALUES GO UP) 
var txtw=14; // AMOUNT OF PIXEL SPACE EACH CHARACTER OCCUPIES 
var beghtml='<font color="#48D1CC"><b>'; // OPTIONAL HTML CODE THAT EFFECTS WHOLE TEXT STRING SUCH AS FONT COLOR, SIZE, ETC. 
var endhtml='</b></font>'; // END HTML CODE. MOSTLY USED IF ABOVE SETTING IS USED.

//********** NO NEED TO EDIT BELOW HERE **********\\

ns4 = (navigator.appName.indexOf("Netscape")>=0 && document.layers)? true : false; 
ie4 = (document.all && !document.getElementById)? true : false; 
ie5 = (document.all && document.getElementById)? true : false; 
ns6 = (document.getElementById && navigator.appName.indexOf("Netscape")>=0 )? true: false; 
var txtA=new Array(); 
text=text.split(''); 
var x1=0; 
var y1=-1000; 
var t='';

for(i=1;i<=text.length;i++){ 
t+=(ns4)? '<layer name="txt'+i+'" top="-100" left="0" width="'+txtw+'" height="1">' : '<div id="txt'+i+'" style="position:absolute; top:-100px; left:0px; height:1px; width:'+txtw+'; visibility:visible;">'; 
t+=beghtml+text[i-1]+endhtml; 
t+=(ns4)? '</layer>' : '</div>'; 

document.write(t);

function moveid(id,x,y){ 
if(ns4)id.moveTo(x,y); 
else{ 
id.style.left=x+'px'; 
id.style.top=y+'px'; 
}}

function animate(evt){ 
x1=Xoff+((ie4||ie5)?event.clientX+document.body.scrollLeft:evt.pageX); 
y1=Yoff+((ie4||ie5)?event.clientY+document.body.scrollTop:evt.pageY); 
}

function getidleft(id){ 
if(ns4)return id.left; 
else return parseInt(id.style.left); 
}

function getidtop(id){ 
if(ns4)return id.top; 
else return parseInt(id.style.top); 
}

function getwindowwidth(){ 
if(ie4||ie5)return document.body.clientWidth+document.body.scrollLeft; 
else return window.innerWidth+pageXOffset; 
}

function movetxts(){ 
for(i=text.length;i>1;i=i-1){ 
if(getidleft(txtA[i-1])+txtw*2>=getwindowwidth()){ 
moveid(txtA[i-1],0,-1000); 
moveid(txtA[i],0,-1000); 
}else moveid(txtA[i], getidleft(txtA[i-1])+txtw, getidtop(txtA[i-1])); 

moveid(txtA[1],x1,y1); 
}

window.onload=function(){ 
for(i=1;i<=text.length;i++)txtA[i]=(ns4)?document.layers['txt'+i]:(ie4)?document.all['txt'+i]:document.getElementById('txt'+i); 
if(ns4)document.captureEvents(Event.MOUSEMOVE); 
document.onmousemove=animate; 
setInterval('movetxts()',delay); 

</script> 


Этот сайт живет XXX-й день.

Code 
<div style='text-align: center'> 
<SCRIPT language=JavaScript> 
d0 = new Date('february 15, 2005'); 
d1 = new Date(); 
dt = (d1.getTime() - d0.getTime()) / (1000*60*60*24); 
document.write('Этот сайт живет <B><SPAN style="COLOR: #ff0000">' + Math.round(dt) + '</SPAN></B>-й день.'); 
</SCRIPT> 
</center>

d0 = new Date('february 15, 2005'); <--- В этой строке в скобках писать дату когда был открыт ваш сайт!

Всё ! 


Если материал был добавлен в каталог файлов вчера или сегодня то рядом с его названием будет иконка NEW

Заходим в Управление дизайном > Новости сайта > Вид материалов 
и ищем там етот код : 
Code 
<a href=""></a>

и сразу после него вставляем етот код : 
Code 

Чтобы работала эта фишка нужно в Общих настройках включить:

Дату сегодняшнего дня выводить как "Сегодня" 


Скрытый текст! Виден после нажатия на ссылку!

Code 
<a href="http://prouserscs.moy.su" target=_blank onclick="document.all.hidden_link.style.display='block';"> Нажми, чтобы увидеть скрытый текст </a> 
<div id="hidden_link" style="display:none">Ура! ты увидел скрытый текст!!!</div> 


Блок мини профиль!!!

Code 
<div align="center"><strong>Привет: Гость</strong> 
<br> 
<img class="userAvatar" title="Гость" src="http://gamesmir.com/img/guest.gif" border="0">

 
<br>Гость, мы рады вас видеть. Пожалуйста зарегистрируйтесь или авторизуйтесь! 
</div> 


прикольный дрожащий рисунок 
Code 
<html> 
<head> 
<title>Дрожащий рисунок</title> 
<style> 
.shakeimage{ 
position:relative 

</style> 
<script language="JavaScript1.2"> 
var rector=3 
var stopit=0 
var a=1

function init(which){ 
stopit=0 
shake=which 
shake.style.left=0 
shake.style.top=0 
}

function rattleimage(){ 
if ((!document.all&&!document.getElementById)||stopit==1) 
return 
if (a==1){ 
shake.style.top=parseInt(shake.style.top)+rector 

else if (a==2){ 
shake.style.left=parseInt(shake.style.left)+rector 

else if (a==3){ 
shake.style.top=parseInt(shake.style.top)-rector 

else{ 
shake.style.left=parseInt(shake.style.left)-rector 

if (a<4) 
a++ 
else 
a=1 
setTimeout("rattleimage()",50) 

function stoprattle(which){ 
stopit=1 
which.style.left=0 
which.style.top=0 

</script> 
</head> 
<body bgcolor="#cccccc" text="000000"> 
Подведите к рисунку указатель мыши к рисунку. 
<img src="АДРЕС_ВАШЕГО_РИСУНКА" class="shakeimage" onMouseover="init(this);rattleimage()" onMouseout="stoprattle(this)" alt="ОПИСАНИЕ"> 
</body> 
</html> 

АДРЕС_ВАШЕГО_РИСУНКА - вместо етого вставте адрес рисунка 


Пароль на страницу

<script language="JavaScript"> 
if (top.location.search=="") { 
pass = prompt('Введите пароль'); 
if (pass=='1') // Ваш пароль акивации 
{ alert('Пароль принят') } else { alert('Пароль непринят!'), top.location.href="errorpas.htm" }//Адрес страниц на которую перейдет пользователь при ошибке 
}; 
</script> 


Увеличение текстат при наведении курсора 
Code 
<HTML> 
<HEAD> 
<TITLE>Увеличивающиеся линки</TITLE> 
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1251"> 
<STYLE> 
.bigChange {font-family:arial; color:blue; font-weight:bolder; font-size:175%; letter-spacing:4px; text-transform: uppercase; background:yellow} 
.start {font-family:arial; color:yellow; background:navy} 
</STYLE> 
<SCRIPT LANGUAGE=JAVASCRIPT> 
function highlightButton(s) { 
if ("INPUT"==event.srcElement.tagName) 
event.srcElement.className=s 

</SCRIPT> 
</HEAD> 
<BODY BGCOLOR="#000000" TEXT="#FFFFFF" LINK="#0000FF" VLINK="#7F007F" ALINK="#FF0000"> 
<H2><center> 
<CENTER> 
<span onmouseover= "this.style.fontSize = 'larger'" 
onmouseout = "this.style.fontSize =''" style="color:red">Подведите сюда курсор мыши</span> 
</P> 
<P> <SPAN onmouseover= "this.className = 'bigChange'" 
onmouseout = "this.className='start'" class=start>Можно использовать в меню</SPAN> 
</p> 
</BODY> 
</HTML> 

Сайт разработан Цупко Андреем ©2024
skytermag.ru - Запчасти на скутер!