mishunov/webcouturier.dropdownmenu — Issue #10: Add class for elements that have subitems
Author: TheoFromSed
Created: 2011-10-12 14:11:27+00:00
State: open

Hi Denis.

At this moment I can't determine that one element have subitem while other don't have it. I think adding class 'havesubitems' will make your product more flexible. For example, there will be able to add arrow image to elements that have submenu.

<ul id="portal-globalnav">
<li id="portaltab-1">
<a href="...">Link</a>
</li>
<li id="portaltab-2" class="havesubmenu">
<a href="...">Link</a>
<ul class="submenu">
<li><a href="...">Link</a></li>
<li class="havesubmenu"><a href="...">Link</a>
<ul>...</ul>
</li>

Thank you.