Hi, i have a menu that looks like this, typical SS3 menu:
<ul>
<% loop Menu(1) %>
<% if Children %>
<li class="showSubMenu"><a href="#" title="$MenuTitle">$MenuTitle</a>
<div class="outerSubMenu" id="$URLSegment">
<ul>
<% loop Products %>
<li>
<div class="subMenu">
$IconeProduit.SetWidth(160)<br />
<a href="$Link" title="$Title">$Title</a>
</div>
</li>
<% end_loop %>
</ul>
</div>
</li>
<% else %>
<li><a href="$Link" title="$MenuTitle">$MenuTitle</a></li>
<% end_if %>
<% end_loop %>
</ul>
It does what i want i.e.: shows div.submenus only if there are childs and
a href="#"
=> returns no links, only a clickable eventid="$URLSegment"
=> hides the submenus using CSS if needed
and there is no child, then there is
<li><a href="$Link" title="$MenuTitle">$MenuTitle</a></li>
Fine. But what if i want SOME CHILDREN NOT SHOW????
Using <% if PageType = ... %> ? => problem is that they are all same pagetype
Using <% if URLSegment = ... %> ? => dont want to mess with that (user can add child as needed)
Using <% if ChildrenOf(..) = ... %> => does that exist? If so, how to implement?
Thanks!