Dropdown menu node without page/gallery

FergusonFerguson Registered Users Posts: 1,345 Major grins

Is there a way to have a node in a drop down menu that does not actually go anywhere, other than to the sub-links?

Example:

Menu

Option A
Option B

Sub-Option B1
Sub-Option B2

Option C

In the above, I want to be able to pick B1 and B2 from the menu, but I do not have a page or display I want if they just pick B and go no further, I want it to do nothing (but expand to B1 and B2 of course).

The closest I can get is putting a slash in as the target, so it goes back to the main page as opposed to staying where it is.

My goal was to shorten the menu bar by consolidating somethings under one heading (but I do not want to rearrange galleries and folders which changes URL's). So there's no right place to go if you select the new heading, but not continue to an item (which is why I would like to stay where I am).

Various attempts at things like # or ../# or various result in it prepending http:// in front and fail completely, though it is happy with a slash (though I could just put the web site name in and get that).

Comments

  • AllenAllen Registered Users Posts: 10,013 Major grins

    If you don't want a menu item to go anywhere just leave the url blank.

    Al - Just a volunteer here having fun
    My Website index | My Blog
  • FergusonFerguson Registered Users Posts: 1,345 Major grins

    @Allen said:
    If you don't want a menu item to go anywhere just leave the url blank.

    Sigh... I have a mental block on that particular widget. If you have "page/gallery" it forces you to choose something, it won't take nothing. I guess I just leaped to the conclusion the same was true for URL. With blank, it forces "#" even though you cannot type in "#", and works fine.

    Thank you!

Sign In or Register to comment.