Theme Builder prior to Confluence 5 had two editable dropdown menus for page view and edit actions. These are deprecated in ThemeBuilder but they can be reproduced using the HTML and CSS on this page.
The code here has been kept simple and neutral, but the colours and dropdown icons can be easily customised. There are no menu icons as these have been removed from ThemeBuilder. You could add your own using or HTML or CSS.
The HTML for the view and edit menus should be copied into a ThemeBuilder panel. We recommend using a different panel for each menu to ease maintenance.
Open the 'Title Panel' and place the cursor where you want the menus to appear. They need to be wrapped in a HTML unordered menu to control the styling. Copy the HTML below into your panel. It will create a horizontal menu containing:
The 'panel-sitehome' macro for a context sensitive link to space or site home.
A 'panel-import' macro for the dropdown 'view' menu - be sure to check the name matches your panel.
A 'panel-import' macro for the dropdown 'edit' menu - be sure to check the name matches your panel. This content is wrapped by a 'builder-hide' macro anonymous users will not see it *.
If you want to alter the icons or colour scheme look at these lines in dropdown.css
top level list items text and background
dropdown menu items text
dropdown menu link hover and active text colours
dropdown menu link hover background colours
As these menus are being produced manually the usual Confluence context controls may not apply. We have tested for the standard anonymous versus logged in user view, but we suggest you test the menus against your own restrictions, and wrap the content in 'builder-show/hide' where appropriate.