You can specify the links that appear in the navigation menu bar by using the <nav-menu> element. The <nav-menu> element has the same attributes and values as the <top-link> element (see Adding/editing top links) and also supports images the same way <top-link> does.
To create a drop-down link on the menu bar
For example, if you wanted to add a new drop-down menu option named "Reporting":
<nav-menu> ... <menu label="Reporting"</menu> </nav-menu>
<nav-menu> ... <menu label="Reporting"> <image>images/reporting_icon.png</image> </menu> </nav-menu>
<nav-menu> ... <menu> <image>images/reporting_icon.png</image> </menu> </nav-menu>
Value | Description |
---|---|
thisWindow | Exits the Viewpoint Web application and displays the new page in the same window as the link. |
newWindow | Opens the link in a new window. |
subFrame | Displays the link's contents in the Viewpoint application panel. |
For example, if you wanted a link named "Reports" to take users to the Viewpoint Reports page, do the following:
<nav-menu> ... <menu label="Reporting"> <link href="reporting" target="thisWindow" label="Reports"> </link> </menu> </nav-menu>
<nav-menu> ... <menu label="Reporting"> <link href="reporting" target="thisWindow" label="Reports"> <image>images/reporting_icon.png</image> </link> </menu> </nav-menu>
<nav-menu> ... <menu label="Reporting"> <link href="reporting" target="thisWindow" label="Reports"> <image>images/reporting_icon.png</image> <permission name="report.read" /> </link> </menu> </nav-menu>
Related topics