(Quick Reference)
nav:primary
Purpose
Renders a
<ul>
menu structure for the primary scope within your
navigation structure.
The scope is automatically detected if not specified, and stored in the request so that the
secondary tag automatically works with the same resolved scope.
The
menu tag is used internally to render the menu, see that documentation for full details.
Example
{docx:xml}
<nav:primary/>
<nav:primary id="primary-nav"/>
{docx}
Note that all the features of the
menu tag are available but are not demonstrated here.
Attributes
Name | Purpose |
---|
class | Optional CSS class to apply to the outer <ul> tag. Defaults to "nav primary" |
See the attributes of the
menu tag for the rest.