I have a site that has a max of 3 menu levels
In my sidebar.ss I have the following code which does not work. I"m pulling my hair. I've had my sidebar working perfectly even showing the 3 menu levels and something happened. I did a dev/build and now it's all tweaked.
Here's the weird part. When I click on any menu(1) item the submenu does not show up, but it shows up for another menu(1) item above it.
<ul id="menu">
<% control Menu(1) %> <!-- Level I -->
<li class="m$ID"><a href="$Link" target="_self" class="a$ID">$MenuTitle.XML</a>
<% if LinkOrCurrent = current %>
<% control Children %>
<ul id="smenu">
<li class="sm$ID"><a href="$Link" title="Go to the $Title.XML page" class="sa$ID">$MenuTitle</a></li>
</ul>
<% end_control %>
<% end_if %>
</li>
<% end_control %>
</ul>
Can you help. This is really strange and I'm going crazy.
Thanks,
Terry