Раздвижное меню горизоньальное Code <link rel="stylesheet" type="text/css" href="http://u1.do.am/demo/dropdownmenu/css/default.css">
<!-- dd menu --> <script type="text/javascript"> <!-- var timeout = 500; var closetimer = 0; var ddmenuitem = 0;
// open hidden layer function mopen(id) { // cancel close timer mcancelclosetime();
// close old layer if(ddmenuitem) ddmenuitem.style.visibility = 'hidden';
// get new layer and show it ddmenuitem = document.getElementById(id); ddmenuitem.style.visibility = 'visible';
} // close showed layer function mclose() { if(ddmenuitem) ddmenuitem.style.visibility = 'hidden'; }
// go close timer function mclosetime() { closetimer = window.setTimeout(mclose, timeout); }
// cancel close timer function mcancelclosetime() { if(closetimer) { window.clearTimeout(closetimer); closetimer = null; } }
// close layer when click-out document.onclick = mclose; // --> </script>
</head> <body>
<ul id="sddm"> <li><a href="#" onmouseover="mopen('m1')" onmouseout="mclosetime()">U1.DO.AM</a> <div id="m1" onmouseover="mcancelclosetime()" onmouseout="mclosetime()"> <a href="#">U1.DO.AM</a> <a href="#">U1.DO.AM</a> <a href="#">U1.DO.AM</a> <a href="#">U1.DO.AM</a> <a href="#">U1.DO.AM</a> </div> </li> <li><a href="#" onmouseover="mopen('m2')" onmouseout="mclosetime()">U1.DO.AM</a> <div id="m2" onmouseover="mcancelclosetime()" onmouseout="mclosetime()"> <a href="#">U1.DO.AM</a> <a href="#">U1.DO.AM</a> <a href="#">U1.DO.AM</a> <a href="#">U1.DO.AM</a> </div> </li> <li><a href="#" onmouseover="mopen('m3')" onmouseout="mclosetime()">U1.DO.AM</a> <div id="m3" onmouseover="mcancelclosetime()" onmouseout="mclosetime()"> <a href="#">U1.DO.AM</a> <a href="#">U1.DO.AM</a> </div> </li> <li><a href="#" onmouseover="mopen('m4')" onmouseout="mclosetime()">U1.DO.AM</a> <div id="m4" onmouseover="mcancelclosetime()" onmouseout="mclosetime()"> <a href="#">U1.DO.AM</a> <a href="#">U1.DO.AM</a> </div> </li> <li><a href="#" onmouseover="mopen('m5')" onmouseout="mclosetime()">Spa1k09</a> <div id="m5" onmouseover="mcancelclosetime()" onmouseout="mclosetime()"> <a href="#">By U1.DO.AM</a> <a href="#">U1.DO.AM</a> <a href="http://u1.do.am/">U1.DO.AM</a> </div> </li> </ul>
Автор\Источник: u1.do.am
Для того что бы скачать архив необходимо зайти на сайт как пользователь.
|