Hide menu

hi everybody,

i’m trying to make an hidden menu, my idea is to make a few buttons
and when i click on a button it changes its color and displays an image.
and another hide/show button to hide/show the hole menu containing the buttons.when the menu is hidden i cant offcourse click on the buttons, and when the menu is shown again i can see the buttons and the same state(clicked or not) of them before i hide them.

i hope you can help me.

thanks