3212 Posts in 847 Topics by 809 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 2167 Views |
-
hide some children on dynamic menu

29 December 2008 at 3:06am
Hi
I have the following code which generates a dynamic menu using the children of all the pages.
<ul>
<% control MainMenu %>
<li><a href="$Link">$MenuTitle.XML</a><% if Children %>
<ul class="submenu{$MenuCount}">
<% control Children %>
<li><a href="$Link" title="Go to the $Title.XML page">$MenuTitle</a></li>
<% end_control %>
</ul>
<% end_if %>
<% end_control %>
</li></ul>
What I want to do is only show this on a couple of the MainMenu. Question is how can I achieve this. I have tried to use ChildrenOf without any success
HELP!
| 2167 Views | ||
|
Page:
1
|
Go to Top |

