Is there some code (html, php, or whatever) that will display a page?

Specifically, I use several buttons in a top-frame to select different functional areas of a website. When I click one of these buttons, I display a specific menu for the button clicked in a left-frame. When that menu is loaded in the left-frame, I need to display one of that menu's options in a display-frame.

I guess I'm looking for something that...