Basically, when you click on an item, the first child is a duplicate of itself.

I see this in Safari 3 and Firefox 3.

Members fund testing for the Drupal project. Drupal Association Learn more


JohnAlbin’s picture

Title: Expanded item has child item which is a duplicate of itself » Fix awkward interface: expandable item requires duplicate child item to get to content
Category: bug » feature

Oh! Now I get it. The expandable item's link only expands/collapses the item. But you can't get to the item's content without the duplicate child item.

Hmmm… the expand/collapse effect needs to hook onto some sort of widget and not onto the link, I guess.

cburschka’s picture

Version: 6.x-3.x-dev » 7.x-1.x-dev

Here is my reasoning for the status quo.

- Loading a new page takes more time than expanding a menu with Javascript. It prevents the user from navigating the page until it has reloaded, and it requires a click on the back-button to reverse if it happened by accident.

- Therefore, opening a new page when you wanted to open a menu is more annoying than opening the menu when you wanted the page.

- The link text is the biggest target and the natural place to click. It would be bad design to put the action that the user will be most frustrated to do by accident onto the button the user is most likely to click ambiguously.

If the extra click to get to the page is a big deal, for Drupal 7 I could see if a mouse-over widget is doable, so you can choose whether to open the page or the menu before you click.

cburschka’s picture

Title: Fix awkward interface: expandable item requires duplicate child item to get to content » Find alternatives to duplicate child item feature
Status: Active » Postponed

Postponed, and better title.

cburschka’s picture

Drupal 7 will have this as an option. #273872: DHTML Menu for Drupal 7

Andrew Schulman’s picture


cburschka’s picture

Title: Find alternatives to duplicate child item feature » Expand on mouse hover.
Status: Postponed » Needs review
11.24 KB

It was surprisingly easy to add an expand-on-hover feature to DHTML Menu for D7.

It has some awkwardness due to moving targets. After all, unlike Nice Menu, DHTML Menu's trees move the whole list up and down when they expand, so it's difficult to expand the option directly after the one currently expanded without expanding an option further down first. But I can't help with that; jQuery can only take you so far.

And to pre-empt: No, it will not ever be making an appearance in D6. But you're welcome to test the patch for the D7 version.

cburschka’s picture

Oh hey, new patch.

cburschka’s picture

Status: Needs review » Fixed

It worked fine on my test site, so let's just do it and fix it later if it breaks.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.