Includes its body if the current node is one of the nodes in the path of selected nodes. The node is in the selected path if it is the selected node, or the parent of the selected node, or the grandparent of the selected node, and so forth. For more information about the selected path, see Key Terms and Concepts .
Cooperating Tags
The tag must be nested in one of the following tags:
contextNavNode
iterateInitialNavNodes
iterateNavNodeChildren
iterateNavNodesInSelectedPath
iterateSelectedNavNodesLevel
launchedNavNode
navNode
navNodeParent
recallNavNode
recurseNavNodeChildren
selectedNavNode
The following code displays the top-level navigation nodes and displays the initial node in the selected path in a special style.
<ul> <nav:iterateInitialNavNodes> <nav:ifNavNodeInSelectedPath> <li class="selectedOnLevel1"> <nav:navNodeAnchor navigationMethod="byURL"/> </li> <% if(levels==2) { %> <nav:storeNavNode/> <% } %> </nav:ifNavNodeInSelectedPath> <nav:ifNotNavNodeInSelectedPath> <li class="unselectedOnLevel1"> <nav:navNodeAnchor navigationMethod="byURL"/> </li> </nav:ifNotNavNodeInSelectedPath> </nav:iterateInitialNavNodes> </ul>