is there a way to make it so that clicking on an item with subitems simply expands the items? alternatively, is there a way to make a menu item render without a link, so it forces the user to click the 'plus' sign instead.

I have tried a number of other modules as well, like special menu items and menu firstchild but I can't seem to get any combination to work properly.

Comments

imDhaval’s picture

yeh !!!
i want this functionality also...
love to sub...

imDhaval’s picture

is this possible or not???

stewart.adam’s picture

Status: Active » Needs review
StatusFileSize
new4.38 KB

Attached patch adds the click to expand functionality as a configurable option in the settings.

Note to the author / unrelated to this bug: I recommend that the no_animation JavaScript file be refactored into the main one using Drupal.settings to pass the animation enabled configuration value. This way, you can avoid having to maintain two separate JS files that share much of the same code.

silurius’s picture

Will this patch will be pulled into 7.x?

Looks like the patch includes a title attribute -- any chance of adding an alt attribute as well to support screen reader software?

pat redmond’s picture

Status: Needs review » Closed (fixed)

Sorry for the long delay, and thanks for the patch. I will include it in the next version of jQueryMenu for both D6 and D7.

Also, thanks for the suggestion of merging the js file. I did that some time ago for the D7 version, but I'm not sure if I included it in the D6 version I uploaded. I will include that in the next version too.