Types of dynamic navigation bars
Dynamic navigation bar types are distinguished by their node sets—the sets of nodes in the site tree to which the navigation bar contains links. The various types are listed below, along with descriptions of their node sets and examples.
The examples are based on the following hypothetical site tree and assume that the current document (the document containing the example navigation bar) is the one entitled 2.1.2.
Example site tree for navigation bar examples
Type: |
Main level |
Node set: |
the child nodes of the site’s main index page |
Example: |
|
Type: |
Parent level |
Node set: |
the parent of the current document and the parent’s siblings |
Example: |
|
Type: |
Siblings |
Node set: |
the siblings of the current document |
Example: |
|
Type: |
Children |
Node set: |
the child nodes of the current document |
Example: |
|
Type: |
Path from home |
Node set: |
the current document itself and all its direct ancestors |
Example: |
|
Type: |
Previous/Next |
Node set: |
the siblings immediately preceding and following the current document |
Example: |
|
Note: |
The links in this type of navigation bar are always labelled “Previous” and “Next”. If the current document does not have a preceding sibling, the “Previous” link is not included; if it does not have a following sibling, “Next” is not included. |
Type: |
Previous/Up/Next |
Node set: |
the siblings immediately preceding and following the current document, and the document’s parent |
Example: |
|
Note: |
The links in this type of navigation bar are always labelled “Previous”, “Up”, and “Next”. If the current document does not have a preceding sibling, the “Previous” link is not included; if it does not have a following sibling, “Next” is not included. |
Type: |
Previous/Home/Next |
Node set: |
the siblings immediately preceding and following the current document, and the site’s main index page |
Example: |
|
Note: |
The links in this type of navigation bar are always labelled “Previous”, “Home”, and “Next”. If the current document does not have a preceding sibling, the “Previous” link is not included; if it does not have a following sibling, “Next” is not included. |
Type: |
Parent |
Node set: |
just the parent of the current document |
Example: |
|
Note: |
The single link in a parent-type navigation bar is always labelled “Up”. |
Type: |
Home |
Node set: |
just the site’s main index page |
Example: |
|
Note: |
The single link in a home-type navigation bar is always labelled “Home”. |
Type: | |
Node set: |
the siblings of the current document |
Example: |
|
Note: |
Each link in the bar has a numeric label based on the sequence number of its corresponding node in the set of siblings of the current document. |
Type: | |
Node set: |
an arbitrary set of sibling nodes |
Example: |
|
Note: |
You can specify any set of sibling nodes as the node set of a user-defined navigation bar, even a set of nodes that are “unrelated” to the current document (except through the root node). A user-defined node set must be a single, complete set of sibling nodes. |