On google homepage, if you click the more button, a menu opens below just that button, like this:

How can I do a similar thing with one of the tabs in the navigation bar of my website using css/javascript/jquery?
Edit: To be more specific, I’m wondering how to accomplish the CSS part of this, i.e:
-
How to make an up/down arrow graphic show on the tab when the dropdown is toggled. (i.e when toggled, show down arrow, when not, up arrow). (Rather than just putting an
<img>i’d rather use a background-image to toggle the arrows) -
How to have the new list pop down below the tab and aligned with it.
This is an example for one way this could be done. Of course, you can experiment with diff methods and stuff, but this is a basic working solution.
A dropdown element to be toggled by clicking a link is pretty good.
Then you make it toggle with a JS click.
css:
Here’s a live example with CSS: http://jsfiddle.net/ZUPBj/