How to make a expand and collapse menu

Hi,

I want to make a menu. I did google for it.
http://www.dustindiaz.com/dhtml-expand-and-collapse-div-menu/

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.

Possible?

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=“http://stilbuero.de/jquery/tabs_3/”]jQuery tabs solution.