home forum orange partner

<ni>

Description

The <ni> element defines a navigation item inside breadcrumbs (see element <breadcrumbs>), inside a navigation list (see element <nl>), inside a pagination (see element <pagination>) or inside a group of letter links (see element <letternav>).

The href attribute gives a link to the desired page.

The current attribute is used when the <ni> is inside a <pagination> element or <letternav> element. If set to “true”, the navigation item corresponds to the current page.

The icon attribute is used to specify the icon to be used for navigation-list (<nl>) and action list (<al>). The value of the icon attribute can be an absolute or relative HTTP URL but can also use the special orangeicon protocol .

The disabled attributes may be used to render the link as a “disabled” link, e.g. a link to a video for devices or bearer that does not support video. If the href attribute has been specified, the link may be clicked (for example to go to an error page). Otherwise, the link can not be clicked.

The class attribute may be use to customize the rendering of the navigation (See OrangeML Styling for more details). The class attribute is supported by <ni> inside <nl>.

Related module

The <ni> element is defined in the orange-Navigation module.

Children

(TEXT)

Attributes

NameDescriptionValue(s)Default
accesskeyAccess key for the navigation itemText
currentTells if the navigation item is the current one in a pagination“true” | “false”“false”
hrefURL of the navigation itemURL
iconURL of the icon imageURL of an image (http or orangeicon)
disabledIf true, the link is disabled and cannot be clicked“true” | “false”“false”
classThe name of the style classText without space