21280 Posts in 5729 Topics by 2600 members
| Go to End | ||
| Author | Topic: | 1049 Views |
-
Re: navigation class

20 July 2009 at 11:21pm
So this should be:
<ul id="topmenu" class="sf-menu sf-navbar">
<% control Menu(1) %><li <% if LinkOrSection = section %>class="current"<% end_if %>><a href="$Link" >$MenuTitle</a>
<% if Children %>
<% if URLSegment = whats-new %>
<ul>
<% control Children %>
<li class="hidden"><a href="$Link" >$MenuTitle</a></li>
<% end_control %>
</ul><% else_if URLSegment = work-with-us %>
<ul>
<% control Children %>
<li class="hidden"><a href="$Link" >$MenuTitle</a></li>
<% end_control %>
</ul><% else %>
<ul>
<% control Children %>
<li class="$LinkingMode"><a href="$Link" >$MenuTitle</a></li><% end_control %>
</ul>
<% end_if %>
<% end_if %></li>
<% end_control %>
</ul>
| 1049 Views | ||
| Go to Top |

