The NavBar widget¶
Description¶
With the widget navbar, you can add a navigation menu to the entire visu. The menu can be displayed on a page (top, bottom, left, right).
Settings¶
For a general understanding of how the configuration files are structured and what elements and attributes are it is recommended to read this section first: Pages and structure of CometVisu.
The behaviour and appearance of the NavBar widget can be influenced by using certain attributes and elements. The following tables show the allowed attributes and elements and their possible values. The screenshots show, how both can be edited in the editor.
Attributes underlined by ..... are mandatory, all the others are optional and be omitted.
Allowed attributes in the NavBar-element¶
Element | Attribute | |||
---|---|---|---|---|
Name | Content | Description | ||
navbar | name | string | Name/title of the navigation bar | |
position | navbarPositionType | Position of the navigation bar on the page | ||
dynamic | true or false | |||
width | string | |||
scope | decimal |
Allowed child-elements und their attributes¶
All widgets are allowed in the page widget.
Examples¶
It is possible to manually edit the visu_config.xml and add an entry for the NavBar widget.
Caution
Make sure that you only use UTF-8 encoded characters by settings the encoding in your XML-editor to UTF-8 mode!
Footnotes
[1] | The simple view might not show everything. To see all elements/attributes use the expert view. |