Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Basically, when you click on an item, the first child is a duplicate of itself.
I see this in Safari 3 and Firefox 3.
Comment | File | Size | Author |
---|---|---|---|
#7 | dhtml_menu-hover-300106-7.patch.patch | 5.16 KB | cburschka |
#6 | dhtml_menu-hover-300106-6.patch | 11.24 KB | cburschka |
screenshot of bug | 12.03 KB | JohnAlbin |
Comments
Comment #1
JohnAlbinOh! 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.
Comment #2
cburschkaHere 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.
Comment #3
cburschkaPostponed, and better title.
Comment #4
cburschkaDrupal 7 will have this as an option. #273872: DHTML Menu for Drupal 7
Comment #5
Andrew Schulman CreditAttribution: Andrew Schulman commentedSubscribing
Comment #6
cburschkaIt 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.
Comment #7
cburschkaOh hey, new patch.
Comment #8
cburschkaIt worked fine on my test site, so let's just do it and fix it later if it breaks.