I am encountering an issue creating a droppable menu. I am currently working on Menu 1 but struggling to figure out how to make the drop-down menus appear on the right side.
<link href='http://fonts.googleapis.com/css?family=Oswald:300,400' rel='stylesheet' type='text/css' />
<link href='http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz:300' rel='stylesheet' type='text/css' />
<div class="nav">
<ul class="menu" id="menu">
<li> <a href="https://probapro2.blogspot.com/">home</a> </li>
<li class=""> <a class="drop-ctg" href="#">category</a>
<ul style="overflow: hidden; display: block; height: 0px; z-index: 1072; opacity: 0;">
<li> <a href="#">Category 1</a> </li>
<li> <a href="#">Category 2</a> </li>
<li> <a href="#">Category 3</a> </li>
<li> <a href="#">Category 4</a> </li>
</ul>
</li>
<li class="">
<a href="#">Menu 1</a>
<ul style="overflow: hidden; display: block; height: 0px; z-index: 1069; opacity: 0;">
<li class="dir">
<a href="#">Menu 2</a>
<ul style="overflow: hidden; display: block; height: 0px; z-index: 1070; opacity: 0;">
<li style="margin-left:50px;"> <a href="#">Menu 3</a> </li>
<li> <a href="#">Menu 3</a> </li>
<li> <a href="#">Menu 3</a> </li>
</ul>
</li>
<li class=""> <a href="#">Menu 2</a> </li>
<li> <a href="#">Menu 2</a> </li>
<li> <a href="#">Menu 2</a> </li>
</ul>
</li>
<li> <a href="#">Menu 2</a> </li>
<li> <a href="#">Menu 3</a> </li>
<li> <a href="#">Menu 4</a> </li>
<li> <a href="https://probapro2.blogspot.com/404">404 Error Page</a> </li>
</ul>
</div>
Check out the JS fiddle for this code here.
I aim to create a droppable menu under Menu 1 with Menu 2 and further have Menu 3 displayed under the first instance of Menu 2.