I created a drop-down menu in jQuery and it works fine, but I only have one problem with menu positioning. I created the menu right after I learned about jQuery animation, and I'm still a beginner, so I did not follow the tutorials.
So, I was wondering, how can I place the menu directly below the button?
<div id="nav" class="grid_5"> <a href=""> ABOUT </a> <a id="products" href=""> PRODUCTS </a> <a href=""> HOME </a> </div> <div id="menu"> <a class="menuButton" href=""> Cakes </a><br> <a class="menuButton" href=""> Cupcakes </a><br> <a class="menuButton" href=""> Fudges </a><br> <a class="menuButton" href=""> Ice Creams </a><br> <a class="menuButton" href=""> Hard Candies </a> </div>
The menu is set under the button using the absolute position.
Here's what the site looks like in full screen: 
Here's what the site looks like during windows: 
I would like to know how to do this using jQuery / JScript or CSS.
source share