1268 Posts in 351 Topics by 486 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 2681 Views |
-
problem with 3rd level navigation drop-down menu

16 May 2009 at 9:18am
hi all,
i'm converting my static site to silverstripe theme and i have small problem with dropdown navigation. i have find on this forum sample code which works great for me but with one error. unfortunately, on third level position navigation shows second level items again.
so, first level navigation is ok, second level is ok and third level elements position is ok but links and titles are from second level.thanks for any help...
--------------------------
<div id="toolbar">
<ul>
<% control Menu(1) %>
<li><a href="$Link">$MenuTitle</a><ul id="subnav1">
<% control Children %>
<li><a href="$Link">$MenuTitle</a>
<% end_control %><ul id="subnav2">
<% control Children %>
<li><a href="$Link">$MenuTitle</a></li>
<% end_control %>
</ul></li>
</ul>
</li><% end_control %>
</ul>
</div> -
Re: problem with 3rd level navigation drop-down menu

16 May 2009 at 10:17am
problem solved. thank's anyway... ;-)
-
Re: problem with 3rd level navigation drop-down menu

1 July 2009 at 2:43pm
Could you post your solution? It also looks like you'll end up with empty ul's if you don't happen to have a third level in any particular seciton?
Thanks
D
| 2681 Views | ||
|
Page:
1
|
Go to Top |

