Someone will say menu code with attachments. Everything is in Javascript, the attachment is one, that is, we suggest the word Text 1 and the menu opens, and then there will be no attachments.

    2 answers 2

    <style type="text/css"> ul.menu, ul.menu ul{width:100px} ul.menu ul{display:none;position:absolute;left:100px;top:-1px} ul.menu li{position:relative} ul.menu li:hover > ul{display:block} </style> <ul class="menu"> <li> <a href="#">text1</a> <ul> <li> <a href="#">text11</a> <ul> <li><a href="#">text111</a></li> <li><a href="#">text112</a></li> <li><a href="#">text113</a></li> </ul> </li> <li> <a href="#">text12</a> <ul> <li><a href="#">text121</a></li> <li><a href="#">text122</a></li> <li><a href="#">text123</a></li> </ul> </li> </ul> </li> <li> <a href="#">text2</a> <ul> <li> <a href="#">text21</a> </li> <li> <a href="#">text22</a> <ul> <li><a href="#">text221</a></li> <li><a href="#">text222</a></li> <li><a href="#">text223</a></li> </ul> </li> </ul> </li> <li><a href="#">text3</a></li> </ul> 

    Anything without javascript and with any level of nesting? The whole "engine" on css.

      Look - here is a large selection of the most different, but in general google phrases such as "menu on jQuery" quite a few examples. Or judging by the question (if you take it literally, you can do without javascript)