21288 Posts in 5733 Topics by 2602 members
| Go to End | ||
| Author | Topic: | 3415 Views |
-
Re: superfish navigation

7 July 2009 at 12:00am
Hi,
I think I have sorted it by looking through the forum at other posts and solutions
I found this post:
http://www.silverstripe.org/template-questions/show/251612#post251612and finally I used the following, hopefully correct:
<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 != what-s-new %><ul>
<% control Children %>
<li><a class="$LinkingMode" href="$Link" title="Go to the {$Title} page">$MenuTitle</a></li>
<% end_control %>
</ul>
<% end_if %>
<% end_if %>
</li>
<% end_control %>
</ul>
Thank you very much for all your help NickJacobs, I really appreciate it. -
Re: superfish navigation

17 July 2009 at 10:56pm
I thought I had completed the problem with the navigation, however it seems the hidden children don't show a blank dropdown on parent hover. Therefore confusing the user. is there a fix for this? or would this be a superfish issue?
I see this on this site: http://aucklandringcompany.co.nz/brooches/
built by NickJacobs. It seems that if no children, no blank subnav is shown, however just repeats the navigation selected.Any ideas on how to show a blank subnav?
| 3415 Views | ||
| Go to Top |

