Show TOC

Background documentationifNavNodeEqualsContextNavNode Locate this document in the navigation structure

 

Includes its body if the current node is the node that is the context node for the highlighted path in the navigation iViews.

You can emphasize a currently launched navigation node or a context node in a detailed navigation iView by adding code in the ifNavNodeEqualsContextNavNode tag during an iteration through all the navigation nodes.

Cooperating Tags

The tag must be nested in one of the following tags:

  • contextNavNode

  • iterateInitialNavNodes

  • iterateNavNodeChildren

  • iterateNavNodesInSelectedPath

  • iterateSelectedNavNodesLevel

  • launchedNavNode

  • navNode

  • navNodeParent

  • recallNavNode

  • recurseNavNodeChildren

  • selectedNavNode

Example

The following displays the current node in the iteration with a different style depending on whether the node is the context node.

Syntax Syntax

  1. <nav:ifNavNodeEqualsContextNavNode>
        <em><nav:navNodeAnchor navigationMethod="byURL"/></em>
    </nav:ifNavNodeEqualsContextNavNode>
    <nav:ifNotNavNodeEqualsContextNavNode>
        <nav:navNodeAnchor navigationMethod="byURL"/>
    </nav:ifNotNavNodeEqualsContextNavNode>
    
End of the code.

More Information