Разговор про Ucoz

Информация о пользователе

Привет, Гость! Войдите или зарегистрируйтесь.


Вы здесь » Разговор про Ucoz » Скрипты/Шаблоны для Ucoz » Скрипты


Скрипты

Сообщений 1 страница 8 из 8

1

Добовляйте скрипты

0

2

http://s51.radikal.ru/i134/0904/aa/ae42adf6739e.jpg

Пакет java скриптов для сайтов.Не нужно теперь искать по сайтам java скрипты, сборка скриптов за 2008 год включила всебя все что Вам надо.

Скачать| Download Letitbit.net" rel="nofollow ugc" target="_blank">http://letitbit.net/download/b65c707869 … titbit.net

0

3

Как сделать Каталог Сайтов с учётом Входов и Выходов на сайт?
Это делается так:
Заходим в панель управления->Каталог сайтов (идем в страницу шаблон вид материалов)
Удалите от туда весь код и вставьте этот:

http://s42.radikal.ru/i098/0904/00/ef99da66bafa.jpg

Код:
<table id="table1" width="100%" border="1">  
<tr>  
<td width="40%" align="center" valign="middle"><?if($SITE_URL$)?><a href="$SITE_URL$" target="blank" <?if($MESSAGE$)?>title="$MESSAGE$" <?endif?>target="_blank"><?endif?><font color="blue"><b><?if($TITLE$)?>$TITLE$<?endif?></b></font></a> <?if($MODER_PANEL$)?>$MODER_PANEL$<?endif?></td>  
<td width="15%" align="center" valign="middle"><b>Пришли с сайта: $READS$</b></td>  
<td width="15%" align="center" valign="middle"><b>Зашли на сайт: $REDIRECTS$</b></td>  
<td width="15%" align="center" valign="middle"><?if($OTHER1$)?><img height="31" src="$OTHER1$" width="88" border="0"><?else?><img height="31" src="http://www.top-megasoft.3dn.ru/No-banner.gif" width="88" border="0"><?endif?></td>  
<td width="15%" align="center" valign="middle"><textarea onclick="select(this)"><a target="_blank" href="$ENTRY_URL$" title="ТОП Лучших сайтов mega-top.net.ru">www.mega-top.net.ru</a>

0

4

http://s59.radikal.ru/i166/0904/53/6496dd1dd2af.png

Общие шаблоны >> Меню сайта заменяем все этим кодом кодом (не забудьте старые ссылки на страницы сохранить в блокноте они вам понадобятся для редактирования):

Код:
<div style="display:inline;" id="menuDiv"><ul id="tmenu0" style="margin-left:4px">     
<li class="expanded"><span style="font-weight:bold">Главная</span>     
<ul>     
<li><a href="$HOME_PAGE_LINK$">Главная</a></li>     
<li><a href="/gb/">Гостевая книга</a></li>     
<li><a href="/index/0-3">Обратная связь</a></li>     
</ul></li>     

<li class="expanded"><span style="font-weight:bold">Пусто1</span>     
<ul>     
<li><a href="http://design-studio.ucoz.ru/">Пусто</a></li>     
<li><a href="http://design-studio.ucoz.ru/">Пусто2</a></li>     
<li><a href="http://design-studio.ucoz.ru/">Пусто3</a></li>     
<li><a href="http://design-studio.ucoz.ru//">Пусто4</a></li>     
<li><a href="http://design-studio.ucoz.ru//">Пусто5</a></li>     

</ul></li>     
<li><span style="font-weight:bold">Пусто2</span>     
<ul>     
<li><a href="http://design-studio.ucoz.ru/">Пусто1</a></li>     
<li><a href="http://design-studio.ucoz.ru/">Пусто2</a></li>     
<li><a href="http://design-studio.ucoz.ru/">Пусто3</a></li>     
<li><a href="http://design-studio.ucoz.ru/">Пусто4</a></li>     

</ul></li>     
<li><span style="font-weight:bold">optysm</span>     
<ul>     
<li><a href="http://design-studio.ucoz.ru//">сайт</a></li>     

</ul></li>     

<script type="text/javascript">     
//<![CDATA[     
var li = document.getElementById('tmenu0').getElementsByTagName('li');     
for(i in li) if(li[i].className=='expanded') li[i].setAttribute('expanded','1');     
function tmenudata0() {     
this.animation_jump = 5     
this.animation_delay = 2     
this.imgage_gap = 3     
this.plus_image = "/menu/plus_fav.gif"     
this.minus_image = "/menu/minus_fav.gif"     
this.pm_width_height = "14,14"     
this.folder_image = "/menu/folder.gif"     
this.document_image = "/menu/n_st.gif"     
this.icon_width_height = "16,16"     
this.icon_width2_height2 = "11,6"     
this.indent = 10;     

this.use_hand_cursor = true;     
this.main_item_styles = "text-decoration:none; font-weight:normal; font-family:Arial; font-size:12px; color:#gold; padding:2px; "     
this.sub_item_styles = "text-decoration:none; font-weight:normal; font-family:Arial; font-size:12px; color:#333333; "     
this.main_container_styles = "padding:0px;"     
this.sub_container_styles = "padding-top:1px; padding-bottom:1px;"     
this.main_link_styles = "color:#ffffff; text-decoration:none;"     
this.main_link_hover_styles = "color:#A98579; 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 src="/menu/jsMenu.js" type="text/javascript"></script></div><script type="text/javascript">try { var nl=document.getElementById('menuDiv').getElementsByTagName('a'); var found=-1; var url=document.location.href+'/'; var len=0; for (var i=0;i<nl.length;i++){ if (url.indexOf(nl[i].href)>=0){ if (found==-1 || len<nl[i].href.length){ found=i; len=nl[i].href.length; } } } if (found>=0){ nl[found].className='ma'; } } catch(e){}</script>     
</ul>

0

5

http://s51.radikal.ru/i134/0904/b6/5b9fdae379cb.jpg

Код:
img{border: 0pt;}  

#vista_toolbar {  
float:left;  
font:normal 12px 'Trebuchet MS','Arial';  
margin:0;  
padding:0;  
}  
#vista_toolbar ul {  
background-image:url(back.gif);  
background-repeat:repeat-x;  
float:left;  
line-height:32px;  
list-style:none;  
margin:0;  
padding:0 10px 0 10px;  
width:500px;  
}  
#vista_toolbar li {  
display:inline;  
padding:0;  
}  
#vista_toolbar a {  
color:#FFF;  
float:left;  
padding:0 3px 0 3px;  
text-decoration:none;  
}  
#vista_toolbar a span {  
display:block;  
float:none;  
padding:0 10px 0 7px;  
}  
#vista_toolbar a span img {  
border:none;  
margin:8px 4px 0 0;  
}  
#vista_toolbar a:hover{  
background: url(left.png) no-repeat left center;  
}  
#vista_toolbar a:hover span {  
background:url(right.png) no-repeat right center;  
}  
#vista_toolbar a.right {  
float:right;  
}

Код HTML

Vista toolbar с помощью CSS

0

6

http://s53.radikal.ru/i141/0901/46/d3a367e27993.png
Форма регистрации пользователей, находим:

Код:
<tr id="siM64"><td class="manTdBut" colspan="2" align="center" id="siM65"><input class="manFlSbm" id="siF20" type="submit" name="sbm" value="$SUBMIT_SIGN$" /></td></tr>

Меняем на:

Код:
<tr id="siM64"><td class="manTdBut" colspan="2" align="center" id="siM65"><input class="manFlSbm" id="siF20" type="image" src="http://forucoz.com/img/button.png" name="sbm" value="$SUBMIT_SIGN$" /></td></tr>

0

7

Вот смотрите как выглядит:
http://s55.radikal.ru/i150/0904/25/e93a9ba946c0.jpg

Прикольный скрипт Личных сообщении.
Крутой Скрипт...Многим может понравица!
Устанавливаем: панель/управление дизайном/личные сообщения (лс)
И от туда всё удаляете,
И ставите этот код:

<!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="$HOME_PAGE_LINK$" 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">$BODY$<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>$POWERED_BY$</P>
</DIV>
</BODY></HTML>

0

8

Вот решил сделать страницу ошибки 404, надеюсь объяснять ненадо где и что заменять
просто скачайте страничку.
Скачать| Класная страница 404 Anyfiles.net

http://s60.radikal.ru/i167/0904/f7/6671c6e00a52.jpg

Загружаете эту станичку в Файловый Менеджер и все.

понравилось,ставь +

вот второй вариант:
1.Создаем текстовый файл (блокнот)
2.Туда вписываем это код:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>

<style type="text/css">#adBegunanuiX4vS {z-index:10;position:absolute;top:0;left:0;padding:1px 2px 2px 0px;}#adTextanuiX4vS {z-index:9;position:absolute;top:0;left:0;width:100%;line-height:22px;background:#000000;border-bottom: 1px outset; }#adCloseanuiX4vS {position:absolute;top:0;right:0;z-index:10;background:#000000;line-height:22px;padding:3px 4px 3px 4px; border-bottom: 1px outset;}</style>
<meta name="yandex-verification" content="5f2bd7a4e4863ac2">
<title>404</title>

<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">

<style type="text/css">
<!--
body {
background-color: #000000;
}
</BODY></HTML>
#Layer1 {
position:absolute;
left:929px;
top:491px;
width:78px;
height:64px;
z-index:1;
}
-->
</style>
<link type="text/css" rel="StyleSheet" href="http://criminall.ucoz.com/_st/my.css">

<link type="text/css" rel="StyleSheet" href="http://s7.ucoz.net/src/layer1.css">

<script type="text/javascript" src="http://s7.ucoz.net/src/ajax.js"></script>
<style type="text/css">.UhideBlockL {display:none}</style>
<link type="text/css" rel="StyleSheet" href="http://s16.ucoz.net/src/layer6.css">

<script type="text/javascript" src="http://s16.ucoz.net/src/ajax.js"></script>
<style type="text/css">.UhideBlock {display:none}</style>
<link type="text/css" rel="StyleSheet" href="http://s20.ucoz.net/src/layer5.css">

<script type="text/javascript" src="http://s20.ucoz.net/src/ajax.js"></script>
<style type="text/css">.UhideBlock {display:none}</style>
</head>
<body>

<center> </center>

<center><img style="width: 500px; height: 500px;" src="http://s51.radikal.ru/i134/0901/34/be16c44164e7.jpg" alt=""><br>

<a href="/"><img style="border: 0px solid ; width: 468px; height: 60px;" src="http://i070.radikal.ru/0901/40/ffbae83d4ab7.jpg" alt=""></a><br>

<span style="text-decoration: underline;"></span><span style="text-decoration: underline;"><span style="font-weight: bold;"></span></span></center>

<center><object type="application/x-shockwave-flash" data="http://www.samp-rus.com/mp3player_500x70.swf" height="33" width="220"><param name="wmode" value="transparent"><param name="allowFullScreen" value="true"><param name="movie" value="http://www.samp-rus.com/mp3player_500x70.swf"><param name="FlashVars" value="way=http://www.clubs-city.ru/mp3/we_can_do_it_all_night.mp3&swf=http://www.samp-rus.com/mp3player_500x70.swf& w=220&h=33&time_seconds=0&autoplay=1&q=&skin=black&volume=100&comment=">
</object></center>

<center> </center>

<!-- 0.00905 (s7) --><!-- 0.01033 (s16) -->
<!-- 0.00429 (s20) -->
</body>
</html>

3. Сохраняем
4. Переименовываем на 404.htm и заливаем в Файловые Менеджер

Если что-то не понятно пишите в комментарий

0


Вы здесь » Разговор про Ucoz » Скрипты/Шаблоны для Ucoz » Скрипты