Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
helllo all,
I want to navigate between the previous and next child node of node at level 4.. i want to achieve this using xslt.. plz any coding ...
eg:
Root
Page 1
Subpage1
child1
subchild 1
subchild 2
subchild 3
i want to navigate between the subchild of child 1 on previous and next button click..
something like this should do the trick:
<xsl:if test="count($currentPage/preceding-sibling::node) != 0"><a class="skip" href="{umbraco.library:NiceUrl($currentPage/preceding-sibling::node[1]/@id)}">< previous</a></xsl:if><xsl:if test="count($currentPage/following-sibling::node) != 0"><a class="skip" href="{umbraco.library:NiceUrl($currentPage/following-sibling::node[1]/@id)}">next ></a></xsl:if>
- Tim
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Navigate between previous and next child
helllo all,
I want to navigate between the previous and next child node of node at level 4.. i want to achieve this using xslt.. plz any coding ...
eg:
Root
Page 1
Subpage1
child1
subchild 1
subchild 2
subchild 3
i want to navigate between the subchild of child 1 on previous and next button click..
something like this should do the trick:
- Tim
is working on a reply...