I think, if I'm understanding it well, that you can do that with css.
Example: http://www.456bereastreet.com/archive/200501/turning_a_list_into_a_navigation_bar/
The quid is at step 10. This is done with diferent "id" for each <body> tag (you probably will have to code some php to change it dinamically...).
This example uses list but you can use it with whatever element.
Greets (first post... back to lurk)
Heitor Real