Главная » Архив материалов

Данный вид комментариев сочетает в себя элегантный вид и технологию jQuery. Данный вид я разрабатывал специально для своего нового дизайна и теперь, думаю, пришло время поделиться и с остальными пользователями интернета

Установка:

В Форме добавления комментариев замените всё на:

Code
<table width="100%" border="0" cellpadding="0" cellspacing="0">  
  <tbody><tr>  
  <td width="17" background="http://apocalypse.ucoz.kz/border/1.png" height="17">  
  </td>  
  <td background="http://apocalypse.ucoz.kz/border/2.png" height="17">  
  </td>  
  <td width="17" background="http://apocalypse.ucoz.kz/border/3.png" height="17">  
  </td>  
  </tr>  
  <tr>  
  <td width="17" background="http://apocalypse.ucoz.kz/border/4.png">  
  </td>  
  <td>  
<?if($USER_LOGGED_IN$)?>  

<center>  
<table width="100%" cellpadding="0" cellspacing="0">  
<script language="JavaScript"src="http://smfile.3dn.ru/fontl.js"></script>
<td>  
<textarea onmouseover="$('#subs').slideUp('slow');" onmousemove="$('#mainbtns').animate({width:'show'},500);" class="commFl" class="commFl" style="height:200px;" rows="8" name="message" id="message" cols="50">$MESSAGE$</textarea>  
</td>  

<div style="display:none;position:absolute;right:120;" id="mainbtns">  
<a onclick="$('#smile').slideToggle('slow');" href="javascript://" title="Показать смайлы"><span><img src="http://apocalypse.ucoz.kz/images/main/smile.png" border="0" width="50"></span></a><br>  
<a onclick="$('#bbcode').slideToggle('slow');" href="javascript://" title="Показать BB коды"><span><img src="http://apocalypse.ucoz.kz/images/main/bbcode.png" border="0" width="50"></span></a><br>  
<a onclick="precomment()" title="Предварительный просмотр комментария"><span><img src="http://apocalypse.ucoz.kz/images/main/prew.png" border="0" width="50"></span></a><br>  
<a onClick="javascript:byn=void(window.open('http://hosting.ucoz.kz','byn','toolbar=1,width=800,height=600,top=300,left=300'))" title="Быстро прикрепить файл или картинку"><span><img src="http://apocalypse.ucoz.kz/images/main/atach.png" border="0" width="50"></span></a><br>  
</div>  

</table>  

</center>  

<?else?>  
<center><b><br>Извините, но гости не могут оставлять комментарии<br>Войдите на сайт под своим именем или пройдите быструю регистрацию</b><br><br></center>  
<?endif?>  

</td>  
  <td width="17" background="http://apocalypse.ucoz.kz/border/5.png">  
  </td>  
  </tr>  
  <tr>  
  <td width="17" background="http://apocalypse.ucoz.kz/border/6.png" height="17">  
  </td>  
  <td background="http://apocalypse.ucoz.kz/border/7.png" height="17">  
  </td>  
  <td width="17" background="http://apocalypse.ucoz.kz/border/8.png" height="17">  
  </td>  
  </tr>  
  </tbody></table>  

<table width="100%" border="0" cellpadding="0" cellspacing="0">  
<td>  
<div align="center" style="display:none;padding:2px;" id="smile">  
<script src="http://apocalypse.ucoz.kz/js/comments.js"></script>  
</div>  
<div align="center" style="display:none;padding:2px;" id="bbcode">  
<script type='text/javascript' src='http://s15.ucoz.net/src/bbcodes.js'></script><span style="padding-right:1px;" id="bc1"><input type="button" title="Bold" value="b" onclick="simpletag('b','','','message','')" class="codeButtons" id="b" style="width:20px;font-weight:bold" /></span><span style="padding-right:1px;" id="bc2"><input type="button" title="Italic" value="i" onclick="simpletag('i','','','message','')" class="codeButtons" id="i" style="width:20px;font-style:italic" /></span><span style="padding-right:1px;" id="bc3"><input type="button" title="Underline" value="u" onclick="simpletag('u','','','message','')" class="codeButtons" id="u" style="width:20px;text-decoration:underline" /></span><span style="padding-right:1px;" id="bc4"><select id="fsize" class="codeButtons" onchange="alterfont(this.options[this.selectedIndex].value,'size','message','');this.selectedIndex=0;"><option value='0'>SIZE</option><option value='6'>6 pt</option><option value='7'>7 pt</option><option value='8'>8 pt</option><option value='9'>9 pt</option><option value='10'>10 pt</option><option value='11'>11 pt</option><option value='12'>12 pt</option><option value='13'>13 pt</option><option value='14'>14 pt</option><option value='15'>15 pt</option><option value='16'>16 pt</option><option value='17'>17 pt</option><option value='18'>18 pt</option><option value='19'>19 pt</option><option value='20'>20 pt</option><option value='21'>21 pt</option><option value='22'>22 pt</option></select></span><span style="padding-right:1px;" id="bc5"><select id="ffont" class="codeButtons" onchange="alterfont(this.options[this.selectedIndex].value,'font','message','');this.selectedIndex=0;"><option value='0'>FAMILY</option><option value='Arial'>Arial</option><option value='Times'>Times</option><option value='Courier'>Courier</option><option value='Impact'>Impact</option><option value='Geneva'>Geneva</option><option value='Optima'>Optima</option></select></span><span style="padding-right:1px;" id="bc6"><select id="fcolor" class="codeButtons" onchange="alterfont(this.options[this.selectedIndex].value, 'color','message','');this.selectedIndex=0;"><option value='0'>COLOR</option><option value='blue' style='color:blue'>Blue</option><option value='red' style='color:red'>Red</option><option value='purple' style='color:purple'>Purple</option><option value='orange' style='color:orange'>Orange</option><option value='yellow' style='color:yellow'>Yellow</option><option value='gray' style='color:gray'>Gray</option><option value='green' style='color:green'>Green</option></select></span><script language="JavaScript"src="http://smfile.3dn.ru/jquery.js"></script><span style="padding-right:1px;" id="bc7"><input type="button" title="URL" value="http://" onclick="tag_url('message','')" class="codeButtons" style="direction:ltr;width:45px;" id="url" /></span><span style="padding-right:1px;" id="bc8"><input type="button" title="E-mail" value="@" onclick="tag_email('message','')" class="codeButtons" style="width:30px;" id="email" /></span><span style="padding-right:1px;" id="bc9"><input type="button" title="Image" value="img" onclick="tag_image('message','')" class="codeButtons" style="width:35px;" id="img" /></span><span style="padding-right:1px;" id="bc10"><input type="button" title="Quote" value="quote" onclick="simpletag('quote','','','message','')" class="codeButtons" style="width:40px;" id="quote" /></span><span style="padding-right:1px;" id="bc11"><input type="button" title="Code" value="code" onclick="simpletag('code','','','message','')" class="codeButtons" style="width:40px;" id="codes" /></span><span style="padding-right:1px;" id="bc34"><input type="button" title="Spoiler" value="spoiler" onclick="simpletag('spoiler','','','message','')" class="codeButtons" style="width:40px;" id="spoiler" /></span><span style="padding-right:1px;" id="bc18"><input type="button" title="Hide from Guest" value="hide" onclick="simpletag('hide','','','message','')" class="codeButtons" style="width:40px;" id="hide" /></span><span style="padding-right:1px;" id="bc12"><input type="button" title="List" value="list" onclick="tag_list('message','')" class="codeButtons" id="list" style="width:30px;" /></span><span style="padding-right:1px;" id="bc13"><input type="button" title="Left" style="width:20px;text-align:left;" value='···' onclick="simpletag('l','cdl','···','message')" class="codeButtons" id="cdl"></span><span style="padding-right:1px;" id="bc14"><input type="button" title="Center" style="width:20px;text-align:center;" value='···' onclick="simpletag('c','cdc','···','message')" class="codeButtons" id="cdc"></span><span style="padding-right:1px;" id="bc15"><input type="button" title="Right" style=" ... Читать дальше »
Подробнее | 0 коментариев | 540 просмотров | Добавил: Skyper

Профиль форума
Начнем: Шаблон Пользователи - Персональная страница пользователя находим там тег:
Code
<body.....>

и добавляем сразу после него этот код:
Code
<div id="ajaxprofile">

потом перед тегом:
Code
</body>

ставим тег:
Code
</div>

далее нам нужен шаблон Форум - Общий вид страниц форума и кидаем в HEAD этот код:
Code
<script type="text/javascript" src="highslide/highslide-full.packed.js"></script>
<link rel="stylesheet" type="text/css" href="highslide/highslide.css" />
<script type="text/javascript">
hs.graphicsDir = 'highslide/graphics/';
hs.align = 'center';
hs.outlineType = 'rounded-white';
hs.fadeInOut = true;
hs.allowMultipleInstances = false;
hs.dimmingOpacity = 0.75;
</script>

теперь нам нужен шаблон Форум - Вид материалов и в любое место кидаем этот код:
Code
<a href="/index/8-$UID$#ajaxprofile" onclick="return hs.htmlExpand(this,{objectType:'ajax',width:700})">ПРОФИЛЬ</a>

создаем в корне сайта создаем папку highslide и извлекаем туда содержимое архива.

P.S. Это окно можно практически в любой модуль поставить и вводить любые данные.

Подробнее | 25 коментариев | 3064 просмотров | Добавил: HiP-HoP

Кнопка Наверх
Под разрешение монитора - 100%
Кроссбраузерность - Mozilla Firefox, IE 7.0, Opera.
Картинку наверх можете поменять.
Code
<a href="javascript:scroll(0,0);"><img style="border: 0pt none ; margin: 0pt; padding: 0pt;" src="http://src.ucoz.ru/img/fr/bt/34/p_up.gif" title="Вверх"></a>
Подробнее | 0 коментариев | 547 просмотров | Добавил: HiP-HoP

Казино
вот решил выложить пару скриптов для заработка как на http://kitprogramma.pp.ru/index/0-64 это наподобе казено,
они продаются в интернет магазинах а я решил вас взгреть
вот пару скриптов первый скрипт игры под кайфом
Code
<p align=justify class=text2>
<b>Под кайфом.</b> Свобода - как много значит это слово... В этой игре, вы должны угадать в какое из окон выпрыгнет наркоман, почувствовав себя свободным...Выиграли - получили мгновенно выигрыш. Чтобы начать игру выберите одну из ставок, выберите окно - левое или правое, нажмите на окно, которое вы выбрали...
<form action="http://azart.ws/merchant.php" method="post"><center><img src=http://azart.ws/images/games/klipart/kaif.gif><br>
</font></b>  
Переадресовывать на оплату:<br>
  <INPUT name=pay type=radio value=ruch checked>
  Вручную
  <b><font color=darkblue>или</b></font>
  Автоматически <INPUT name=pay type=radio value=avt>
<input type="hidden" name="num" value="2">
<input type="hidden" name="chislo" value="3">
<input type="hidden" name="partner" value="ваш zкашелек">
<input type="hidden" name="char" value="Z">
<input type="hidden" name="LMI_PAYEE_PURSE" value="Z987410072262">

<TABLE cellSpacing=1 cellPadding=4 align=center bgcolor=#f5f5fa border=0>
  <TR>
  <TD bgcolor=#EDEDED><P align=left><B>Ставка: </B></P></TD>
  <TD bgcolor=#EDEDED><P align=center><font color=brown>0.05</P></TD>
  <TD bgcolor=#EDEDED><P align=center><font color=brown>0.10</P></TD>
  <TD bgcolor=#EDEDED><P align=center><font color=brown>0.20</P></TD>
  <TD bgcolor=#EDEDED><P align=center><font color=brown>0.50</P></TD>
  <TD bgcolor=#EDEDED width=38><P align=center><font color=brown>1.00</P></TD>
  <TD bgcolor=#EDEDED width=38><P align=center><font color=brown>3.00</P></TD>
  <TD bgcolor=#EDEDED width=38><P align=center><font color=brown>5.00</P></TD>
  </TR>
  <TR>
  <TD bgcolor=#EDEDED><P align=left><B>Валюта:</B></P></TD>
  <TD bgcolor=#EDEDED><P align=center><b><font color=green>wmz</P></TD>
  <TD bgcolor=#EDEDED><P align=center><b><font color=green>wmz</P></TD>
  <TD bgcolor=#EDEDED><P align=center><b><font color=green>wmz</P></TD>
  <TD bgcolor=#EDEDED><P align=center><b><font color=green>wmz</P></TD>
  <TD bgcolor=#EDEDED><P align=center><b><font color=green>wmz</P></TD>
  <TD bgcolor=#EDEDED width=38><P align=center><b><font color=green>wmz</P></TD>
  <TD bgcolor=#EDEDED width=38><P align=center><b><font color=green>wmz</P></TD>
  </TR>
<TR>
  <TD bgcolor=#EDEDED><P align=left><B>Приз:</B></P></TD>
  <TD bgcolor=#EDEDED><P align=center><font color=green>0.1-0.25</P></TD>
  <TD bgcolor=#EDEDED><P align=center><font color=green>0.2-0.5</P></TD>
  <TD bgcolor=#EDEDED><P align=center><font color=green>0.4-1.0</P></TD>
  <TD bgcolor=#EDEDED><P align=center><font color=green>1-2.5</P></TD>
  <TD bgcolor=#EDEDED><P align=center><font color=green>2.0-5.0</P></TD>
  <TD bgcolor=#EDEDED width=38><P align=center><font color=green>6-15</P></TD>
  <TD bgcolor=#EDEDED width=38><P align=center><font color=green>10-25</P></TD>
  </TR>
  <TR>
  <TD bgcolor=#EDEDED><P align=left><B>Выберите:</B></P></TD>
  <TD bgcolor=#EDEDED><P align=center><input type=radio class=submit2 name=topay value=0.05 checked></P></TD>
  <TD bgcolor=#EDEDED><P align=center><input type=radio class=submit2 name=topay value=0.10></P></TD>
  <TD bgcolor=#EDEDED><P align=center><input type=radio class=submit2 name=topay value=0.20></P></TD>
  <TD bgcolor=#EDEDED><P align=center><input type=radio class=submit2 name=topay value=0.50></P></TD>
  <TD bgcolor=#EDEDED><P align=center><input type=radio class=submit2 name=topay value=1.00></P></TD>
  <TD bgcolor=#EDEDED width=38><P align=center><input type=radio class=submit2 name=topay value=3.00></P></TD>
  <TD bgcolor=#EDEDED width=38><P align=center><input type=radio class=submit2 name=topay value=5.00></P></TD>
  </TR>

втарой втарой скрипт под названием козырь
Код:
<p align=left><b><u>Козырь.</u></b>
Вы должны угадать какая из карт, окажется козырем! Выигрыш составляет, ваша ставка, умноженная в 2-4 раза!

<br> <FORM action=https://merchant.webmoney.ru/lmi/payment.asp method=post name=bolshe><span class=n><center><input type=radio name=chislo value=1 checked>Пика->
  <img src=http://wmbingo.com/images/king1.gif width="87" height="115"> <input type=radio name=chislo value=2>Крестий->
  <img src=http://wmbingo.com/images/king2.gif width="87" height="115"> <br><input type=radio name=chislo value=3>Чирва->
  <img src=http://wmbingo.com/images/king3.gif width="87" height="115"> <input type=radio name=chislo value=4>Бубна->
  <img src=http://wmbingo.com/images/king4.gif width="87" height="115"><br><br>
  <center><span class=n>Размер ставки:
  <SELECT class=submit3 name=LMI_PAYMENT_AMOUNT>
   
  <OPTION value=0.05>0.05</OPTION>
  <OPTION value=0.1>0.1</OPTION>
  <OPTION value=0.2>0.2</OPTION>
  <OPTION value=0.3>0.3</OPTION>
  <OPTION value=0.4>0.4</OPTION>
  <OPTION value=0.5>0.5</OPTION>
  <OPTION value=0.7>0.7</OPTION>
  <OPTION value=1>1</OPTION>
  <OPTION value=2>2</OPTION>
  <OPTION value=3>3</OPTION>
  <OPTION value=5>5</OPTION>
  <OPTION value=10>10</OPTION>
  <OPTION value=20>20</OPTION>
  <OPTION value=30>30</OPTION>
  </SELECT>
  <input type="hidden" name="num" value="8">
<input type="hidden" name="chislo" value="96">
<input type="hidden" name="p" value="ваш z кашелек">
<select name="LMI_PAYEE_PURSE" class=submit3>
<option value="Z200949580143">WMZ</option>
</select><br>
<INPUT name=LMI_PAYMENT_DESC type=hidden value="Лотерея Козырь">
   
  <BR>
  <INPUT name="submit2" type=submit class=submit2 value=Играть!>
  </FORM>

3 скрипт игра наперстки
Код:
<P align=justify class=text><U><b>Напёрстки</b></U>. Старая народная игра, вы должны угадать под каким<br> из напёрстков окажется шарик! Угадали - получили выигрыш, ваша<br> ставка x2-4!
  <FORM action=https://merchant.webmoney.ru/lmi/payment.asp method=post name=nap><center>
  <INPUT name=tuz type=radio value=1 checked> Первый
  <INPUT name=tuz type=radio value=2> Второй <INPUT name=tuz type=radio value=3>Третий
<br>

<img src="http://wm-loto.net/images/nap.gif"> <img src="http://wm-loto.net/images/nap.gif"> <img src="http://wm-loto.net/images/nap.gif">

  <P align=center class=text>Размер ставки:
  <SELECT class=select name=LMI_PAYMENT_AMOUNT>

  <OPTION value=0.5>0.5</OPTION>
  <OPTION value=0.7>0.7</OPTION>
  <OPTION
  value=1>1</OPTION>
  <OPTION value=2>2</OPTION>
  <OPTION value=3>3</OPTION>
  <OPTION value=5>5</OPTION>
  <OPTION value=10>10</OPTION>
  <OPTION value=20>20</OPTION>
  <OPTION value=30>30</OPTION>
  </SELECT>
  <input type="hidden" name="game_number" value="5">
<input type="hidden" name="p" value="ваш R кашелек">
<select name="LMI_PAYEE_PURSE" class=select>

<option value="R892458325129">WMR</option>
<INPUT name=LMI_PAYMENT_DESC type=hidden value="Лотерея Напёрстки"><br>
   
  <BR>
  <INPUT name="submit" type=submit class=submit value=Играть!>
  </FORM>

4 скрипт игра 3 туза
Код:
<P ... Читать дальше »
Подробнее | 0 коментариев | 700 просмотров | Добавил: HiP-HoP

Иконка New
Вставлять в Управление дизаином > Новости сайта > Вид материалов > (ну в принципе тут на ваше усмотрение я лично вставил где название то есть во тут
Code
<a href="$ENTRY_URL$">$TITLE$</a> ТУТ

Вот сам код:
Code
%IF($DATE$=Сегодня|=Вчера)%<img src="http://i031.radikal.ru/0804/fa/28bf95c09d77.gif">%ENDIF%

Чтобы работала эта фишка нужно в Общих настройках включить:
Цитата:
Дату сегодняшнего дня выводить как "Сегодня"
Подробнее | 0 коментариев | 523 просмотров | Добавил: HiP-HoP

Копируем код, вставляем в болокнот, сохраняем как 404.htm и закидываем на свой сайт.
Code
<HTML><head>
<style>
body{  
  font-family: Verdana, Tahoma, Arial, Trebuchet MS, Sans-Serif, Georgia, Courier, Times New Roman, Serif;
  font-size: 11px;
  margin: 0;
  padding: 0; /* required for Opera to have 0 margin */
}
.errorwrap {
  background: white;
  border: 1px solid #217a82;
  border-top: 0;
  margin: 5px;
  padding: 0;
  background: white;
   
  color: #0f688d;
   
   
  font-size: 11px;
}

.errorwrap h4 {
  background: #c6e2e4;
  border: 1px solid #217a82;
  border-left: 0;
  border-right: 0;
  color: #3c7a7f;  
  font-size: 12px;
  font-weight: bold;  
  padding: 5px;
}

</style>
<title>Страница не существует</title>
</head><body>
<br><br><br><br><br><br><br><br><br>
<table width="525" align="center" border="0" cellpadding="0" cellspacing="0" height="220">
<tbody><tr>
<td width="100%">
<div class="errorwrap">
<h4>Переалресация</h4>
  <p align="center"> <b>Внимание! <br></b></p><p align="center">Страница не существует или удалена!
  <br>Вы будете перенесены на главную страницу сайта через <b><span id="calc">--</span></b> сек.  
  <br> Если ваш браузер не поддерживает автоматической переход, то нажмите на ссылку <a href="http://avaworld.cn/">ваш сайт</a>
</div>

</p></div>
</td>
</tr>
</tbody></table><div align="center">

<script>

// *************
// ** Age-Web Timer
// *************

  var ints = 10;
   
   
  function alertes () {
   
  document.getElementById('calc').innerHTML = ints;
   
  if ( ints == 0 ) {
  document.location.href = 'http://avaworld.cn/';
  ints = '--';
  }
  if ( ints > 0 ) {
  ints--;
  }
  };
   
  function refresh(){
  if(ints > 0) time_Interval = setInterval("alertes ()", 1000 );
  };
   
  refresh();  
   
</script></div></body></HTML>
Подробнее | 0 коментариев | 471 просмотров | Добавил: HiP-HoP

Копируем код, открываем блокнот, вставляем код и сохраняем как dostup zapreshen.htm . Открываем и видим результат. Вот и всё.
Code
<HTML><head>
<style>
body{  
  font-family: Verdana, Tahoma, Arial, Trebuchet MS, Sans-Serif, Georgia, Courier, Times New Roman, Serif;
  font-size: 11px;
  margin: 0;
  padding: 0; /* required for Opera to have 0 margin */
}
.errorwrap {
  background: white;
  border: 1px solid #217a82;
  border-top: 0;
  margin: 5px;
  padding: 0;
  background: white;
   
  color: #0f688d;
   
   
  font-size: 11px;
}

.errorwrap h4 {
  background: #c6e2e4;
  border: 1px solid #217a82;
  border-left: 0;
  border-right: 0;
  color: #3c7a7f;  
  font-size: 12px;
  font-weight: bold;  
  padding: 5px;
}

</style>
<title>Переадресация</title>
</head><body>
<br><br><br><br><br><br><br><br><br>
<table width="525" align="center" border="0" cellpadding="0" cellspacing="0" height="220">
<tbody><tr>
<td width="100%">
<div class="errorwrap">
<h4>Переадресация</h4>
  <p align="center"> <b>Внимание! <br></b></p><p align="center">Вам запрещён доступ на эту страницу пожалуйста зарегистрируйтесь или авторизируйтесь,
  <br>а сейчас вы будете автоматически перемещены на главную страницу через <b><span id="calc">--</span></b> сек.  
  <br> Если у вас не работает переадресация, кликните по ссылке <a href="http://avaworld.cn/">avaworld.cn</a> <br>
</p><div align="center"><table width="224" align="center" border="0" cellpadding="0" cellspacing="0" height="90">
<tbody><tr>
<td width="100%">
<div class="errorwrap">
<h4>Авторизация</h4><div align="center">$LOGIN_FORM$
<br></div><div align="center"><br></div></div>
</td>
</tr>
</tbody></table></div><div align="center"><span class="myWinError"><b>$POWERED_BY$</b></span><br>
</div>

</p></div>
</td>
</tr>
</tbody></table><div align="center">

<script>

// *************
// ** Age-Web Timer
// *************

  var ints = 20;
   
   
  function alertes () {
   
  document.getElementById('calc').innerHTML = ints;
   
  if ( ints == 0 ) {
  document.location.href = 'http://avaworld.cn/';
  ints = '--';
  }
  if ( ints > 0 ) {
  ints--;
  }
  };
   
  function refresh(){
  if(ints > 0) time_Interval = setInterval("alertes ()", 1000 );
  };
   
  refresh();  
   
</script></div></body></HTML>
Подробнее | 0 коментариев | 517 просмотров | Добавил: HiP-HoP

Опрос как на DLE
Все удалите с вида опросов, и вставьте ниже код:
Code
<div style="font-family: Tahoma,Arial;">
<div style="font-size: 8pt; padding-top: 2px; text-align: left;"><b>$QUESTION$</b></div>
<div style="font-size: 8pt; text-align: left;">$ANSWERS$</div>
<hr>
<a style="font-size: 5pt;" href="$RESULTS_LINK$"><img alt="Результат опроса" src="/vote//ba71bb878150.jpg" align="" border="0"><span style="font-size: 8pt;"> Результаты</span></a>
  <br>  
<a style="font-size: 5pt;" href="$ARCHIVE_LINK$"><img alt="Все опросы нашего сайта" src="/vote/8019266a5531.jpg" align="" border="0" width="14" height="14"><span style="font-size: 8pt;"> Архив опросов</span></a>  
<hr>
<div style="padding-top: 4px; font-size: 7pt; text-align: center;">Всего ответов: <b>$TOTAL_VOTES$</b></div>
<center><a style="font-size: 8pt;" href="http://4chat.ucoz.ru/forum/6"> Обсудить на форуме</a></center>
   
</div>
Подробнее | 0 коментариев | 522 просмотров | Добавил: HiP-HoP

###################################################
Ставим этот код в шаблон Общие шаблоны - Меню сайта
###################################################
Code
<div id="menuDiv" style="display:inline">

<ul id="tmenu0" style="display:none">  

<li class="m">
<span>Раздел номер 1</span>  
<ul>  
<li class="m"><a class="m" href="http://allcity.net.ru/">Подраздел номер 1</a></li>  
<li class="m"><a class="m" href="http://allcity.net.ru/">Подраздел номер 2</a></li>
<li class="m"><a class="m" href="http://allcity.net.ru/">Подраздел номер 3</a></li>
<li class="m"><a class="m" href="http://allcity.net.ru/">Подраздел номер 4</a></li>
<li class="m"><a class="m" href="http://allcity.net.ru/">Подраздел номер 5</a></li>
</ul>
</li>

<li class="m">
<span>Раздел номер 2</span>  
<ul>  
<li class="m"><a class="m" href="http://allcity.net.ru/">Подраздел номер 1</a></li>  
<li class="m"><a class="m" href="http://allcity.net.ru/">Подраздел номер 2</a></li>
<li class="m"><a class="m" href="http://allcity.net.ru/">Подраздел номер 3</a></li>
<li class="m"><a class="m" href="http://allcity.net.ru/">Подраздел номер 4</a></li>
<li class="m"><a class="m" href="http://allcity.net.ru/">Подраздел номер 5</a></li>
</ul>
</li>

<li class="m">
<span>Раздел номер 3</span>  
<ul>  
<li class="m"><a class="m" href="http://allcity.net.ru/">Подраздел номер 1</a></li>  
<li class="m"><a class="m" href="http://allcity.net.ru/">Подраздел номер 2</a></li>
<li class="m"><a class="m" href="http://allcity.net.ru/">Подраздел номер 3</a></li>
<li class="m"><a class="m" href="http://allcity.net.ru/">Подраздел номер 4</a></li>
<li class="m"><a class="m" href="http://allcity.net.ru/">Подраздел номер 5</a></li>
</ul>
</li>

<li class="m">
<span>Раздел номер 4</span>  
<ul>  
<li class="m"><a class="m" href="http://allcity.net.ru/">Подраздел номер 1</a></li>  
<li class="m"><a class="m" href="http://allcity.net.ru/">Подраздел номер 2</a></li>
<li class="m"><a class="m" href="http://allcity.net.ru/">Подраздел номер 3</a></li>
<li class="m"><a class="m" href="http://allcity.net.ru/">Подраздел номер 4</a></li>
<li class="m"><a class="m" href="http://allcity.net.ru/">Подраздел номер 5</a></li>
</ul>
</li>

</ul>
</div>

<script type="text/javascript">
function tmenudata0()
{
  this.animation_jump = 15
  this.animation_delay = 2
  this.imgage_gap = 3
  this.plus_image = "plus.gif"
  this.minus_image = "minus.gif"
  this.pm_width_height = "10,10"
  this.icon_width_height = "16,16"
  this.indent = 20;  
  this.use_hand_cursor = true;  
  this.main_item_styles = "text-decoration:none; \
  font-weight:normal; \
  font-family:Arial; \
  font-size:14px; \
  color:#FF0000; \
  padding:2px; "
  this.sub_item_styles = "text-decoration:none; \
  font-weight:normal; \
  font-family:Arial; \
  font-size:12px; \
  color:#807F80; "
  this.main_container_styles = "padding:0px;"
  this.sub_container_styles = "padding-top:4px; padding-bottom:4px;"
  this.main_link_styles = "color:#0000FF; text-decoration:none;"
  this.main_link_hover_styles = "color:#FF0000; text-decoration:underline;"
  this.sub_link_styles = ""
  this.sub_link_hover_styles = ""
  this.main_expander_hover_styles = "text-decoration:underline;";
  this.sub_expander_hover_styles = "";}
</script>  

<script type="text/javascript">
ulm_ie=window.showHelp;ulm_opera=window.opera;ulm_strict=((ulm_ie || ulm_opera)&&(document.compatMode=="CSS1Compat")); ulm_mac=navigator.userAgent.indexOf("Mac")+1;is_animating=false; cc3=new Object();cc4=new Object();  
cc0=document.getElementsByTagName("UL");for(mi=0;mi<cc0.length; mi++){if(cc1=cc0[mi].id){if(cc1.indexOf("tmenu")>-1){cc1=cc1.substring(5); cc2=new window["tmenudata"+cc1];cc3["img"+cc1]=new Image();cc3["img"+cc1].src=cc2.plus_image;cc4["img"+cc1]=new Image(); cc4["img"+cc1].src=cc2.minus_image;if(!(ulm_mac && ulm_ie)){t_cc9=cc0[mi].getElementsByTagName("UL");for(mj=0;mj<t_cc9.length; mj++){cc23=document.createElement("DIV");cc23.className="uldivs"; cc23.appendChild(t_cc9[mj].cloneNode(1));t_cc9[mj].parentNode.replaceChild(cc23,t_cc9[mj]); }}cc5(cc0[mi].childNodes,cc1+"_",cc2,cc1); cc6(cc1,cc2);cc0[mi].style.display="block"; }}};function cc5(cc9,cc10,cc2,cc11){eval("cc8=new Array("+cc2.pm_width_height+")");this.cc7=0;for(this.li=0;this.li<cc9.length; this.li++){if(cc9[this.li].tagName=="LI"){this.level=cc10.split("_").length-1; cc9[this.li].style.cursor="default";this.cc12=false;this.cc13=cc9[this.li].childNodes; for(this.ti=0;this.ti<this.cc13.length;this.ti++){lookfor="DIV"; if(ulm_mac && ulm_ie)lookfor="UL";if(this.cc13[this.ti].tagName==lookfor){this.tfs=this.cc13[this.ti].firstChild; if(ulm_mac && ulm_ie)this.tfs=this.cc13[this.ti];this.usource=cc3["img"+cc11].src; if((gev=cc9[this.li].getAttribute("expanded"))&&(parseInt(gev))){this.usource=cc4["img"+cc11].src; }else this.tfs.style.display="none";if(cc2.folder_image){create_images(cc2,cc11,cc2.icon_width_height,cc2.folder_image,cc9[this.li]); this.ti=this.ti+2;}this.cc14=document.createElement("IMG");this.cc14.setAttribute("width",cc8[0]); this.cc14.setAttribute("height",cc8[1]);this.cc14.className="plusminus"; this.cc14.src=this.usource;this.cc14.onclick=cc16;this.cc14.onselectstart=function(){return false}; this.cc14.setAttribute("cc2_id",cc11);this.cc15=document.createElement("div"); this.cc15.style.display="inline";this.cc15.style.paddingLeft=cc2.imgage_gap+"px"; cc9[this.li].insertBefore(this.cc15,cc9[this.li].firstChild); cc9[this.li].insertBefore(this.cc14,cc9[this.li].firstChild); this.ti+=2;new cc5(this.tfs.childNodes,cc10+this.cc7+"_",cc2,cc11);this.cc12=1; }else if(this.cc13[this.ti].tagName=="SPAN"){this.cc13[this.ti].onselectstart=function(){return false}; this.cc13[this.ti].onclick=cc16;this.cc13[this.ti].setAttribute("cc2_id",cc11); this.cname="cc24";if(this.level>1)this.cname="cc25";if(this.level> 1)this.cc13[this.ti].onmouseover=function(){this.className="cc25"; };else this.cc13[this.ti].onmouseover=function(){this.className="cc24"; };this.cc13[this.ti].onmouseout=function(){this.className="";}; }}if(!this.cc12){if(cc2.document_image){create_images(cc2,cc11,cc2.icon_width_height,cc2.document_image,cc9[this.li]); }this.cc15=document.createElement("div");this.cc15.style.display="inline"; if(ulm_ie)this.cc15.style.width=cc2.imgage_gap+cc8[0]+"px";else this.cc15.style.paddingLeft=cc2.imgage_gap+cc8[0]+"px"; cc9[this.li].insertBefore(this.cc15,cc9[this.li].firstChild);}this.cc7++; }}};function create_images(cc2,cc11,iwh,iname,liobj){eval("tary=new Array("+iwh+")");this.cc15=document.createElement("div");this.cc15.style.display="inline"; this.cc15.style.paddingLeft=cc2.imgage_gap+"px"; liobj.insertBefore(this.cc15,liobj.firstChild); this.fi=document.createElement("IMG");this.fi.setAttribute("width",tary[0]); this.fi.setAttribute("height",tary[1]);this.fi.setAttribute("cc2_id",cc11); this.fi.className="plusminus";this.fi.src=iname;this.fi.style.verticalAlign="middle"; this.fi.onclick=cc16;liobj.insertBefore(this.fi,liobj.firstChild); };function cc16(){if(is_animating)return;cc18=this.getAttribute("cc2_id"); cc2=new window["tmenudata"+cc18];cc17=this.parentNode.getElementsByTagName("UL"); if(parseInt(this.parentNode.getAttribute("expanded"))){this.parentNode.setAttribute("expanded",0); if(ulm_mac && ulm_ie){cc17[0].style.display="none";}else {cc27=cc17[0].parentNode;cc27.style.overflow="hidden";cc26=cc27; cc27.style.height=cc17[0].offsetHeight;cc27.style.position="relative"; cc17[0].style.position="relative";is_animating=1;setTimeout("cc29("+(-cc2.animation_jump)+",false,"+cc2.animation_delay+")",0); }this.parentNode.firstChild.src=cc3["img"+cc18].src;}else {this.parentNode.setAttribute("expanded",1);if(ulm_m ... Читать дальше »
Подробнее | 0 коментариев | 517 просмотров | Добавил: HiP-HoP

loadfile
Установка проста
1. Закачиваем файл с архива в корень сайта.

2. В любое место ставим один из этих кодов
Как ссылка:

Code
<a href="javascript://" onclick="openLayerB('LoadFileBody',0,'/loadfile.xml','Загрузка файлов и изображений',600,400,1,0,1);return false;">Загрузить файл</a>

Как кнопка:
Code
<input type="button" onclick="openLayerB('LoadFileBody',0,'/loadfile.xml','Загрузка файлов и изображений',600,400,1,0,1);return false;" value="Загрузить файл" />
Подробнее | 0 коментариев | 574 просмотров | Добавил: HiP-HoP

« 1 2 3 4 5 ... 70 71 »