In the menus of this website design I'm (supposed to be) implementing, the menu headings (which have multiple choices under them) and the sub-branches (which themselves have multiple choices under them) are not even clickable. The design doesn't call for "landing" pages for these "choices" at all, and it would be awkward, at best, to create a page for that purpose for each of the dozen or so branching points in the menu.

I'm using the Primary Navigation menu with Nice Menus (though I suspect it doesn't matter).

Is there a way to make a menu selection (that has sub-selections) either not clickable, or else go to "#"? Or go back to the current page?

I though it would be easy if I could just put "#" as the Path, but the menu setting form validation rejects that as an invalid path.

Is there something like <self> to tell it do not go anywhere (else)? Or, is there a way to make a menu choice show up (so we can branch "under" it) but not be clickable itself? I think either one would be just fine. Or maybe there's a way I can get it to use "#".

I'm not looking to be picky here.

Comments

AvalancheOfLlamas’s picture

Check out Special Menu Items (http://drupal.org/project/special_menu_items). Conflicts with the Devel module, but that's it.

Special menu items is a Drupal module that provides placeholder and separator menu items. A placeholder is a menu item which is not a link. It is useful with dynamic drop down menus where we want to have a parent menu item which is not linking to a page but just acting as a parent grouping some menu items below it.

Alan