Ask your JavaScript questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

vertical menu with dropdowns JavaScript

  • REFUNDED

I would like to have a responsive vertical menu with dropdowns. The dropdown menus should DROP DOWN, not to the side. Use jquery or javascript and necessary css.

<nav>
<ul>
<li><a href="basic.html">Basic example</a></li>
<li>
<a href="horizontal-submenus.html">test</a>
<ul> <!-- this is a drop down -->
<li><a href="#">First sub-item</a></li>
<li><a href="#">Second sub-item</a></li>
<li><a href="#">Third sub-item</a></li>
</ul>
</li>
<li>
<a href="#">Vertical submenus example</a>
<ul>
<li><a href="#">First sub-item</a></li>
<li>
<a href="#">Second sub-item</a>
<ul>
<li><a href="#">First sub-sub-item</a></li>
<li><a href="#">Second sub-sub-item</a></li>
<li><a href="#">Third sub-sub-item</a></li>
</ul>
</li>
<li><a href="#">Third sub-item</a></li>
</ul>
</li>
<li><a href="fixedheader.html">Fixed header</a></li>
<li><a href="advanced.html">Advanced example</a></li>
</ul>
</nav>

Answers (1)

2019-02-18

Arnav Joy answers:

Something like this?

http://ajonweb.com/clients/naveed/demo/menu.html


User180435 comments:

No. That's a horizontal menu. I'm looking for a vertical menu like http://communitychessclub.com but that menu is an awkward kludge and is css only.