I have searched and couldn't find this question, please direct me to the thread if I missed it. I have a client who wants their Primary Links to be menu titles only and not go to a url/path.

Any help, of course, is greatly appreciated.

BH

Comments

TreyeDesigns’s picture

You could just recreate the Menu inside a block and position it where the primary menus sits. As long as they are just "titles" it would just be a simple text list styled appropriately.

This may confuse visitor's to the site though. A menu created to look like a navigation system, but not function. Seems like it would frustrate me.

technobrarygeek’s picture

The menu name displayed as tabs across the top wouldn't link to any page but would cause the drop down menu to well... drop down/expand and THOSE menu items would link out to pages.

OOPS

dman’s picture

You either use nice_menus (or similar script) or you have to use links.
In HTML, you have to click on things for other things (drop downs) to happen. If you don't make the top level items links, then they can't be clicked, and you'll never see drop-downs. In pure HTML anyway.

So you are going to have to go with a scripted solution.
Be careful what script solution you choose though, as the behavior you say you want would make your site unindexable by search engines! Unless you use a very good script. Nicemenus will do fine.

sylvain_a’s picture

Perhaps you could use a module that works out of the box like Nice Menus. To quote from the settings page "This is a simple module that enables the site to have drop down/flyout CSS menus for site and admin navigation." After it is activated, you can access a wealth of options by clicking "configure" on the appropriate Nice Menus Blocks in the Block section (admin/build/block).

If you can those access those sub-menus easily (simply by putting your mouse over the primary links), do you really need to deactivate these primary links?