Personal tools
You are here: Home Forums Plone Drop Down Menu more drop down menus
Document Actions

more drop down menus

Up to Plone Drop Down Menu

more drop down menus

Posted by Rowan Geddes at November 27. 2006

Hi,



Thank you for a great product! It works and I can use it. This is a miracle considering I know almost nothing about plone and programming...



Anyway, is it possible to have two or more levels of drop down menu?

eg:

Members>Current>juniors

Members>Current>seniors

Members> Past> Juniors

Members>Past> Seniors



The fist part is what your code already does, ie, Members>Current/Past



Can it handle the extra layers, and if so, how would I implement it please?



thanks in advance,


Row

Re: more drop down menus

Posted by Vitaliy Podoba at January 03. 2007

qPloneDropDownMenu 0.1.x already provides more than one sublevel.


Example:


<li id="portaltab-index_html" class="plain"><a href="http://example.com/" accesskey="t">Home</a></li>
<li id="portaltab-Members" class="plain"><a href="http://example.com/Members" accesskey="t">Members</a>
<ul>
<li><a href="http://example.com/Members/jdoe">John Doe</a><li>
<li><a href="http://example.com/Members/mmajor">Mary Major</a>
<ul>
<li><a href="http://example.com/Members/mmajor/video">My Video</a><li>
<li><a href="http://example.com/Members/mmajor/music">My Music</a><li>
</ul>
<li>
</ul>
</li>
<li id="portaltab-news" class="plain"><a href="http://example.com/news" accesskey="t">News</a></li>
<li id="portaltab-events" class="plain"><a href="http://example.com/events" accesskey="t">Events</a>
<ul>
<li><a href="http://example.com/events/previous">Past Events</a><li>
<li><a href="http://example.com/calendar">Calendar</a><li>
</ul>
</li>


So to add next level submenu to the certain menu item, you need to add unordered list inside of this certain level menu item ('<li>...</li>') after its title ('<a></a>').
Powered by Ploneboard