Dynamic menu

Yes I know this is crossposting, but I cannot move the other post from the games section…

Well, I have been working on this dynamic flash menu. It loads its text/links from a file, and then loads other pages into the flash. I am now trying to make you be able to “fold up” parts of it- basically, when you click on a “header” the headers and links below the header that is below the one you click should come up and hide the links directly below the header you clicked. It works great with only two headers, and with more it folds up perfectly, but strange things happen when you try to unfold it.

View a semi-working version with only two “headers” at
http://roy.wigginsworld.org/neosite/interface.html

Ok, restating my post:

I want people to be able to hide parts of the menu. When they click on a “header”, (the black bits on the demo file), I want that header’s section (the links below the header, but above the next header down) to be hidden. I want the rest of the menu to slide up and cover the section who’s header was clicked on. I managed that part of it. I need to figure out why when clicking again on a header of a hidden section (which should reveal the section) makes the menu go all messed up when there are more than two sections.

Edit: I want to do something like http://ghostwire.com/go/207 exept more animated.

Edit again: Ooops, I am an idiot, I didn’t look too much at that thread… time to learn xml I guess!

Okay… how would I modify the file at http://www.kirupaforum.com/forums/showthread.php?t=59715 so it starts out with all the menus uncollapsed, and make it so making one visible does not hide the rest?