• Страница 1 из 1
  • 1
Раздвижное меню №2
monДата: Понедельник, 28.03.2011, 16:08 | Сообщение # 1

Сообщений: 21


[ 1 ]


[spoiler="Скрин"][/spoiler]

Создаем блок вставляем туда это , заменяем на нужные ссылки:

Code
<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="http://zona-cs.pp.ru/">Главная страница</a></li>    
    <li><a href="http://zona-cs.pp.ru/forum">Форум</a></li>    
    <li><a href="http://zona-cs.pp.ru/blog">Скриншоты игр</a></li>    
    <li><a href="http://zona-cs.pp.ru/load/"><font color="#1e90ff">Ф</font>айлы для CS:S</a></li>    
    <li><a href="http://zona-cs.pp.ru/index/nashi_bannery/0-5">Наши баннеры</a></li>    
    <li><a href="http://zona-cs.pp.ru/dir">ТOP сайтов</a></li>    
</ul></li>    
<li class="expanded"><span style="font-weight: bold;">Всё для PS</span>    
<ul>    
    <li><a href="http://zona-cs.pp.ru/load/69">Скачать PS</a></li>    
    <li><a href="http://zona-cs.pp.ru/load/64">Рамки</a></li>    
    <li><a href="http://zona-cs.pp.ru/load/65">Кисти</a></li>    
    <li><a href="http://zona-cs.pp.ru/load/66">Шрифты</a></li>    
    <li><a href="http://zona-cs.pp.ru/load/67">Иконки</a></li>    
    <li><a href="http://zona-cs.pp.ru/forum/47">Уроки</a></li>    
    <li><a href="http://zona-cs.pp.ru/forum/48">Готовые PSD</a></li>    
    <li><a href="http://zona-cs.pp.ru/load/71">Стили для PS</a></li>    
</ul></li>    
<li class="expanded"><span style="font-weight: bold;">Всё для uCoz</span>    
<ul>    
    <li><a href="http://zona-cs.pp.ru/forum/10">Скрипты</a></li>    
    <li><a href="http://zona-cs.pp.ru/load/23">Шаблоны</a></li>    
    <li><a href="http://zona-cs.pp.ru/load/24">Шаблоны для форума</a></li>    
    <li><a href="http://zona-cs.pp.ru/load/27">Иконки групп</a></li>    
    <li><a href="http://zona-cs.pp.ru/load/28">Иконки форума</a></li>    
    <li><a href="http://zona-cs.pp.ru/load/29">Ранги</a></li>    
    <li><a href="http://zona-cs.pp.ru/load/30">Шапки</a></li>    
</ul></li>    
<li class="expanded"><span style="font-weight: bold;">ZC™ - team</span>    
<ul>    
    <li><a href="http://zona-cs.pp.ru/index/sostav_klana/0-9">Состав клана</a></li>    
    <li><a href="http://zona-cs.pp.ru/index/nashi_cw/0-10">Наши CW</a></li>    
</ul></li>    
<li><span style="font-weight: bold;">Другое</span>    
<ul>    
    <li><a href="http://zona-cs.pp.ru/index/cs_s/0-11">Сыграть в CS</a></li>   
    <li><a href="http://zona-cs.pp.ru/index/nashi_vidjakhi/0-4">Наши видяхи</a></li>    
    <li><a href="http://zona-cs.pp.ru/index/generator_smajlov/0-12">Генератор смайлов</a></li>    
    <li><a href="http://zona-cs.pp.ru/index/gimn_cs/0-13">Гимн CS</a></li>   
    <li><a href="http://zona-cs.pp.ru/index/informacia_o_saite/0-2">Информация о сайте</a></li>    
    <li><a href="http://zona-cs.pp.ru/index/poisk/0-16">Поиск</a></li>   
    <li><a href="http://zona-cs.pp.ru/publ">Cтатьи</a></li>    
    <li><a href="http://zona-cs.pp.ru/index/faq/0-14">FAQ</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 = "http://Sinners.PP.Ua/img/82.png"   
    this.minus_image = "http://sinners.pp.ua/img/8.gif"   
    this.pm_width_height = "13,10"   
    this.folder_image = ""   
    this.document_image = "http://Sinners.PP.Ua/img/8z.gif"   
    this.icon_width_height = "16,16"   
    this.icon_width2_height2 = "13,10"   
    this.indent = 1;    

    this.use_hand_cursor = true;    
    this.main_item_styles = "text-decoration:none; font-weight:normal; font-family:Tahoma; font-size:13px; color:#828282; padding:2px; "   
    this.sub_item_styles = "text-decoration:none; font-weight:normal; font-family:Tahoma; font-size:11.2px; color:#dedede; "   
    this.main_container_styles = "padding:0px;"   
    this.sub_container_styles = "padding-top:1px; padding-bottom:1px;"   
    this.main_link_styles = "color:#b5b5b5; text-decoration:none;"   
    this.main_link_hover_styles = "color:#1E90FF; text-decoration:none;"   
    this.sub_link_styles = ""   
    this.sub_link_hover_styles = ""   
    this.main_expander_hover_styles = "text-decoration:none;";   
    this.sub_expander_hover_styles = "";   
}   
//]]>   

</script>    
<script src="http://sinners.pp.ua/menu.js" type="text/javascript"></script></ul></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>


Сообщение отредактировал mon - Понедельник, 28.03.2011, 16:08
  • Страница 1 из 1
  • 1
Поиск:


Дизайн сайта пренадлежит MoN and Alexandro
Imaster.ucoz.ua © 2011-2012 г. Хостинг от uCoz