Вторник, 17.06.2025, 11:36

||здесь может быть ваша реклама||                                 ||здесь может быть ваша реклама||
Блоггер,Форумчанин,Сайтовед,Дизайнер - это все у нас!
Главная Регистрация Вход
Приветствую Вас, Гость · RSS
[ Новые сообщения · Участники · Правила форума · Поиск · RSS ]
  • Страница 1 из 1
  • 1
Скрипт Раздвижное меню
GeorgДата: Понедельник, 23.05.2011, 17:01 | Сообщение # 1
Мастер
Группа: Модераторы
Сообщений: 37
Награды: 2
Репутация: 2
Статус: Offline

Создаем глобальный блок и пихаем туда этот код:
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="$HOME_PAGE_LINK$">ТЕСТ</a></li>           
           <li><a href="http://wowjp.net/forum/">WOWJP</a></li>           
           <li><a href="http://wowjp.net/">WOWJP</a></li>           
     </ul></li>           
     <HR>           
     <li class="expanded"><span style="font-weight:bold">Dark Masters</span>           
     <ul>           
           <li><a href="http://wowjp.net/">WOWJP</a></li>           
           <li><a href="http://wowjp.net/">WOWJP</a></li>           
           <li><a href="http://wowjp.net/">WOWJP</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://apokaliptika.clan.su/menu/plus_fav.png"           
           this.minus_image = "http://apokaliptika.clan.su/menu/minus_fav.png"           
           this.pm_width_height = "14,14"           
           this.folder_image = "http://apokaliptika.clan.su/menu/folder.png"           
           this.document_image = "http://apokaliptika.clan.su/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="http://apokaliptika.clan.su/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>


 
  • Страница 1 из 1
  • 1
Поиск: