Hi!
I'm making a menu in xslt where the (foldout) sub menues have different color according to wich topmenu was choosen.
something like this:
top1
sub1_1
sub1_2
top2
sub2_1
sub2_1
sub1_1, sub1_2 are blue
sub2_1,sub2_2 are red
I'm able to do this with an if structure testing their Settings/Pageview ID
<xsl:if test="Settings/Pageview[@ID='17']">
<!-- make submenues blue-->
.
.
</xsl:if>
<xsl:if test="Settings/Pageview[@ID='18']">
<!-- make submenues red-->
.
.
</xsl:if>
But I would like them to keep their color after selecting a sub menu, but in the xml there seems to be no memory of their parent ID.
Do you have any suggestions how I could achive this?
Or is it even possible?
Can I use the AreaID for this?
-jan