set multiple buttons to show/hide easily
I have this situation where I have 6 buttons and each will open a pop-up box (with of course another set of buttons). Problem is, if user clicks one button and its pop-up box is open (10 new buttons), instead of selecting anything from it, if he clicks another button (one of the 6 main page buttons), another pop-up box opens and overlaps the previous (pop-up) buttons.
So it must be set in a way that whenever a button is clicked, it closes all the existing pop-up boxes. But doing that manually is tiresome. In this case it would be going to a button, finding all the buttons which do not belong to its pop-up box, and hiding them. That is already 6 X 5 X 10 clicks for one page and my document contains 100 pages.
So i was wondering if there is a way to select multiple buttons or layers, and set them to show/hide for that particular button? Instead of going into every button and hiding all unwanted buttons one by one?