Цитата(almagnit @ 15.5.2008, 20:07 ) | | Подумал что не рабоает из-за несуществующей функции, удалил все mot() |
конечно не будет работать из-за несуществующей функции.
Вобщем как я тебя понял, тебе надо что-то вроде этого:
| Код | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>Ураган</title> <meta name="Description" content="Ураган"> <meta name="KEYWORDS" content="Ураган"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1251"> <link href="1.css" rel="stylesheet" type="text/css"> </head> <DIV class=TopSubMenuCell id=SubLevelMenu1 style="DISPLAY: none; WIDTH: 282px; POSITION: absolute; TOP: 0px; left: 180px; overflow: visible" > <DIV class="TopSubMenu" onMouseOver="this.className='TopSubMenuOver'" onMouseOut="this.className='TopSubMenu';" onClick="'http://www.webstroitel.net/dir/77';">Подраздел 1_1</DIV> <DIV class="TopSubMenu" onMouseOver="this.className='TopSubMenuOver'" onMouseOut="this.className='TopSubMenu';" onClick="'http://www.webstroitel.net/dir/77';">Подраздел 1_2</DIV> <DIV class="TopSubMenu" onMouseOver="this.className='TopSubMenuOver'" onMouseOut="this.className='TopSubMenu';" onClick="'http://www.webstroitel.net/dir/77';">Подраздел 1_3</DIV> </DIV> <DIV class=TopSubMenuCell id=SubLevelMenu2 style="DISPLAY: none; WIDTH: 282px; POSITION: absolute; TOP: 0px; left: 180px; overflow: visible" > <DIV class="TopSubMenu" onMouseOver="this.className='TopSubMenuOver'" onMouseOut="this.className='TopSubMenu';" onClick="'http://www.webstroitel.net/dir/77';">Подраздел 2_1</DIV> <DIV class="TopSubMenu" onMouseOver="this.className='TopSubMenuOver'" onMouseOut="this.className='TopSubMenu';" onClick="'http://www.webstroitel.net/dir/77';">Подраздел 2_2</DIV> <DIV class="TopSubMenu" onMouseOver="this.className='TopSubMenuOver'" onMouseOut="this.className='TopSubMenu';" onClick="'http://www.webstroitel.net/dir/77';">Подраздел 2_3</DIV> </DIV> <DIV class=TopSubMenuCell id=SubLevelMenu3 style="DISPLAY: none; WIDTH: 282px; POSITION: absolute; TOP: 0px; left: 180px; overflow: visible" > <DIV class="TopSubMenu" onMouseOver="this.className='TopSubMenuOver'" onMouseOut="this.className='TopSubMenu';" onClick="'http://www.webstroitel.net/dir/77';">Подраздел 3_1</DIV> <DIV class="TopSubMenu" onMouseOver="this.className='TopSubMenuOver'" onMouseOut="this.className='TopSubMenu';" onClick="'http://www.webstroitel.net/dir/77';">Подраздел 3_2</DIV> <DIV class="TopSubMenu" onMouseOver="this.className='TopSubMenuOver'" onMouseOut="this.className='TopSubMenu';" onClick="'http://www.webstroitel.net/dir/77';">Подраздел 3_3</DIV> </DIV> <DIV class=TopSubMenuCell id=SubLevelMenu4 style="DISPLAY: none; WIDTH: 282px; POSITION: absolute; TOP: 0px; left: 180px; overflow: visible" > <DIV class="TopSubMenu" onMouseOver="this.className='TopSubMenuOver'" onMouseOut="this.className='TopSubMenu';" onClick="'http://www.webstroitel.net/dir/77';">Подраздел 4_1</DIV> <DIV class="TopSubMenu" onMouseOver="this.className='TopSubMenuOver'" onMouseOut="this.className='TopSubMenu';" onClick="'http://www.webstroitel.net/dir/77';">Подраздел 4_2</DIV> <DIV class="TopSubMenu" onMouseOver="this.className='TopSubMenuOver'" onMouseOut="this.className='TopSubMenu';" onClick="'http://www.webstroitel.net/dir/77';">Подраздел 4_3</DIV> </DIV> <DIV class=TopSubMenuCell id=SubLevelMenu5 style="DISPLAY: none; WIDTH: 282px; POSITION: absolute; TOP: 0px; left: 180px; overflow: visible" > <DIV class="TopSubMenu" onMouseOver="this.className='TopSubMenuOver'" onMouseOut="this.className='TopSubMenu';" onClick="'http://www.webstroitel.net/dir/77';">Подраздел 5_1</DIV> <DIV class="TopSubMenu" onMouseOver="this.className='TopSubMenuOver'" onMouseOut="this.className='TopSubMenu';" onClick="'http://www.webstroitel.net/dir/77';">Подраздел 5_2</DIV> <DIV class="TopSubMenu" onMouseOver="this.className='TopSubMenuOver'" onMouseOut="this.className='TopSubMenu';" onClick="'http://www.webstroitel.net/dir/77';">Подраздел 5_3</DIV> </DIV> <body bgcolor="#ffffff" marginwidth="0" marginheight="0" leftmargin="0" topmargin="0" background="/pics/isa_02.gif" style="background-repeat:repeat-x; background-position:top; "> <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0" background="/pics/isa_42.gif" style="background-repeat:repeat-x; background-position:bottom left; "> <tr> <td height="234" valign="top"><table width="100%" height="234" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="15" rowspan="3" align="left" valign="bottom"><img src="/pics/isa_04.gif" width="15" height="211"></td> <td height="23"><table width="100%" height="23" border="1" cellpadding="0" cellspacing="0"> <tr> <td align="left" class="TopAdress">143400, Московская обл., г. Красногорск., ул. Ленина д.26 А</td> <td align="right" class="TopAdress">i<a href="mailto:[email protected]">[email protected]</a></td> </tr> </table></td> <td width="15" rowspan="3" align="right" valign="bottom"><img src="/pics/isa_09.gif" width="15" height="211"></td> </tr> <tr> <td height="164" align="center" valign="top" ><img src="/pics/isa_07.jpg" width="896" height="164" border="0" usemap="#Map"></td> </tr> <tr> <td height="47" onmouseover="mout('1');" class="TopMenu"><a href="http://www.webstroitel.net/index.php">Главная</a> | <a href="http://www.webstroitel.net/dir/84/">Новости</a> | <a href="http://www.webstroitel.net/contacts/">Обратная связь</a> </td> </tr> </table></td> </tr> <tr> <td id=mama valign="top"><table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="236" valign="top"> <table width="100%" border="0" cellpadding="0" cellspacing="0" background="/pics/isa_18.gif" style="background-repeat:repeat-y; background-position:left; ">
<tr> <td class="LeftMenu" id=menu4 onmouseover="vsible('4');" onmouseout="mout('4');"><a href="http://www.webstroitel.net/dir/14">Раздел меню 4 </a></td> </tr>
<tr> <td class="LeftMenu" id=menu5 onmouseover="vsible('5');" onmouseout="mout('5');"><a href="http://www.webstroitel.net/dir/14">Раздел меню 5 </a></td> </tr>
</table> <script> function absPosition(obj) { var x = y = 0; while (obj) { x += obj.offsetLeft; y += obj.offsetTop; obj = obj.offsetParent; } return {x:x, y:y} }
function vsible(n){ var td_id=document.getElementById("menu"+n); var div_id=document.getElementById("SubLevelMenu"+n); div_id.style.top = absPosition(td_id).y; div_id.style.left = absPosition(td_id).x+ 100; div_id.style.display=''; }
function mout(n){ var div_id=document.getElementById("SubLevelMenu"+n); div_id.style.display='none'; }
</SCRIPT> </td> </tr> </table></td> <td onMouseOver="mout();"valign="top" style="padding-right:10px; " class="ContentText"> <p><P align=center><FONT size=5><STRONG></STRONG></FONT> </P> <P align=center><FONT size=5><STRONG></STRONG></FONT> </P> <P align=center><FONT size=5><STRONG>Сайт на реконструкции</STRONG></FONT></P> <P align=center> </P> <P align=center><IMG src="/spaw/images/lib1/remont.gif"></P> <P> </P></p></td> </p></td> </tr> </table></td> </tr> <tr> <td height="34"><table width="100%" height="34" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="15"><img src="/pics/isa_40.gif" width="15" height="34"></td> <td class="TopMenu"><a href="http://www.webstroitel.net/index.php">Главная</a> | <a href="http://www.webstroitel.net/dir/84/">Новости</a> | <a href="http://www.webstroitel.net/contacts/">Обратная связь</a> </td> <td width="15"><img src="/pics/isa_44.gif" width="15" height="34"></td> </tr> </table></td> </tr> <tr> <td height="42"><table width="100%" height="42" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="200" align="center" class="BottomCopyright">© 2008 все права защищены</td> <td> </td> <td width="100" align="center"><img src="/pics/isa_48.gif" width="88" height="31"></td> <td width="100" align="center"><img src="/pics/isa_48.gif" width="88" height="31"></td> <td width="100" align="center"><img src="/pics/isa_48.gif" width="88" height="31"></td> <td> </td> <td width="200" align="center" class="BottomCopyrightWS"><a href="http://webstroitel.ru/"><img src="/pics/isa_51.gif" width="101" height="16" border="0"></a><br> <a href="http://webstroitel.ru/">веб дизайн, разработка сайта</a></td> </tr> </table></td> </tr> </table> <map name="Map"> <area shape="rect" coords="378,17,521,140" href="http://www.ingstroyasfaltl.ru/" target="_blank"> </map> </body> </html>
|
|