Что-то будет

  • Страница 1 из 1
  • 1
Вид меню

1
AnDRoiD

    ◄®Andre1◽►™

  • Гл.Админ
  • Сообщений: 1026
  • Репутация:

Code
<script type="text/javascript" language="javascript">  
<!--  
//  
function toggle( targetId ) {  
if (document.getElementById) {  
target = document.getElementById( targetId );  
if (target.style.display == "none") {  
target.style.display = "";  
} else {  
target.style.display = "none";  
}  
}  
}  
//  
--></script><script type="text/javascript">  
function repchange(val,id){  
repval=val;  
ajaxtime=setInterval('checkajax'+id+'()',500);}  
</script><style type="text/css">  
.suckerdiv ul{  
margin: 0;  
padding: 0;  
list-style-type: none;  
width: 175px; /* Width of Menu Items */  
border-bottom: 1px solid #000000;  
}  
.suckerdiv ul{      
margin: 0;      
padding: 0;      
list-style-type: none;      
width: 172px; /* Width of Menu Items */      
border-bottom: 1px solid #212121;      
}      

.suckerdiv ul li{      
position: relative;      
}      

/*Sub level menu items */      
.suckerdiv ul li ul{      
position: absolute;      
width: 175px; /*sub menu width*/      
top: 0;      
visibility: hidden;      
}      

/* Sub level menu links style */      
.suckerdiv ul li a{      
display: block;      
overflow: auto; /*force hasLayout in IE7 */      
color: #FFFFFF;      
text-decoration: none;      
background: #292929;      
padding: 1px 6px;      
border: 1px solid #212121;      
border-bottom: 0;      
}      

.suckerdiv ul li a:visited{      
color: #FFFFFF;      
}      

.suckerdiv ul li a:hover{      
background: url(http://mega-tema.ru/cellpic412ss.gif);      
}      

.suckerdiv .subfolderstyle{      
background: url(http://mega-tema.ru/strelkaMUNI21f.gif) no-repeat center right;      
}      

/* Holly Hack for IE \*/      
* html .suckerdiv ul li { float: left; height: 1%; }      
* html .suckerdiv ul li a { height: 1%; }      
/* End */      

</style>      

<script type="text/javascript">      
var menuids=["suckertree1"]      

function buildsubmenus(){      
for (var i=0; i<menuids.length; i++){      
var ultags=document.getElementById(menuids[i]).getElementsByTagName("ul")      
for (var t=0; t<ultags.length; t++){      
ultags[t].parentNode.getElementsByTagName("a")[0].className="subfolderstyle"      
if (ultags[t].parentNode.parentNode.id==menuids[i])      
ultags[t].style.left=ultags[t].parentNode.offsetWidth+"px"      
else      
ultags[t].style.left=ultags[t-1].getElementsByTagName("a")[0].offsetWidth+"px"      
ultags[t].parentNode.onmouseover=function(){      
this.getElementsByTagName("ul")[0].style.display="block"      
}      
ultags[t].parentNode.onmouseout=function(){      
this.getElementsByTagName("ul")[0].style.display="none"      
}      
}      
for (var t=ultags.length-1; t>-1; t--){      
ultags[t].style.visibility="visible"      
ultags[t].style.display="none"      
}      
}      
}      

if (window.addEventListener)      
window.addEventListener("load", buildsubmenus, false)      
else if (window.attachEvent)      
window.attachEvent("onload", buildsubmenus)      
</script>  

<div class="suckerdiv">      
<ul id="suckertree1">      
<LI><A href="http://mega-tema.ru/" title=""><FONT color="#cacaca"> Главная страница</FONT> </A></LI>      
<LI><A href="http://mega-tema.ru/forum" title=""><FONT color="#cacaca"> Форум</FONT> </A></LI>      

<li><a href="http://mega-tema.ru/" title="MEGA-TEMA"> MEGA-TEMA</a>  
<ul>  
<noindex><LI><A href="http://mail.mega-tema.ru" title=""><FONT color="#cacaca"> Почта @mega-tema.ru</FONT> </A></LI></noindex>  
<LI><A href="http://mega-tema.ru/gb" title=""><FONT color="#cacaca"> Гостевая книга</FONT> </A></LI>      
<LI><A href="http://mega-tema.ru/faq" title=""><FONT color="#cacaca"> FAQ</FONT> </A></LI>      
<LI><A href="http://mega-tema.ru/load/" title=""><FONT color="#cacaca"> Файлы</FONT> </A></LI>      
<LI><A href="http://mega-tema.ru/dir/" title=""><FONT color="#cacaca"> Каталог сайтов</FONT> </A></LI>      
<LI><A href="http://mega-tema.ru/photo/" title=""><FONT color="#cacaca">Фотоальбомы</FONT> </A></LI>  
<LI><A href="http://mega-tema.ru/index/nashi_bannery/0-13" title=""><FONT color="#cacaca"> Наши баннеры</FONT> </A></LI>  
<LI><a href="" onclick="new _uWnd('OnUsrLst',' ',400,350,{autosize:0},{url:'/index/67'});return false;">Извещения об обновлениях</a> </A></LI>  

</ul>  
</li>  

<li><a href="http://mega-tema.ru/forum/105" title="MeGa^TeMa">Клан MeGa^TeMa</a>  
<ul>  
<LI><A href="http://mega-tema.ru/forum/106" title=""><FONT color="#cacaca"> Набор в клан</FONT> </A></LI>      
<LI><A href="http://mega-tema.ru/forum/109" title=""><FONT color="#cacaca"> Выход с клана</FONT> </A></LI>      
<LI><A href="http://mega-tema.ru/forum/107" title=""><FONT color="#cacaca"> Забить CW</FONT> </A></LI>      
<LI><A href="http://mega-tema.ru/forum/108" title=""><FONT color="#cacaca"> Общение</FONT> </A></LI>      
<LI><A href="http://mega-tema.ru/forum/110" title=""><FONT color="#cacaca"> Правила</FONT> </A></LI>      

</ul>  
</li>  

</ul>  
</li>  
</ul>

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