How to make a expand and collapse menu


I want to make a menu. I did google for it.

but its too simple.

This is what I need to do.
Tab 1
Tab 2
Tab 3

By default tab 1 should be open. when I click on tab 2, tab 1 should collapse and tab 2 should expand.


also, theres a typo in my post… cudn’t edit it…

You have a couple of options.

You can make use of some well designed drop-down menus or you can use tabs, for which there is a good [url=“”]jQuery tabs solution.