Basically, when you click on an item, the first child is a duplicate of itself.
I see this in Safari 3 and Firefox 3.
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.
Here is my reasoning for the status quo.
- 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.
Postponed, and better title.
Drupal 7 will have this as an option. #273872: DHTML Menu for Drupal 7
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.
Oh hey, new patch.
It worked fine on my test site, so let's just do it and fix it later if it breaks.
Automatically closed -- issue fixed for 2 weeks with no activity.
Drupal is a registered trademark of Dries Buytaert.