Questions tagged [submenu]

A submenu is a menu, that is a list of options or commands, which is contained within another menu.

A submenu is a menu, that is a list of options or commands, which is contained within another menu.

Submenus are commonly found in desktop applications but also websites.

See also: Menu (computing) on Wikipedia

1415 questions
9
votes
3 answers

Bootstrap 3 vertical menu with toggable submenus

Using Bootstrap 3, I need to construct a vertical menu containing toggable submenus. I have the following structure:
Guscie
  • 2,278
  • 2
  • 26
  • 33
8
votes
1 answer

Adding an onclick to a submenu?

I have an onclick function for my menu but I can't figure out what the ID is for my submenu so that I can tell the submenu what to do when the user click on it. I created my submenu programmatically using the code below. So if someone could please…
Pallas
  • 1,499
  • 5
  • 25
  • 57
8
votes
1 answer

Making JPopupMenu's submenus heavyweight

http://java.sun.com/products/jfc/tsc/articles/mixing/index.html advices how to make JPopupMenus heavyweight. Just set the property: setLightWeightPopupEnabled(false); It works fine, but if I have submenus in the popup, implemented as JMenu items,…
Joonas Pulakka
  • 36,252
  • 29
  • 106
  • 169
8
votes
4 answers

How to create Popup Menu as submenu of another Popup Menu's menu item

I want to create popup menu submenu of another popup menu's menu item.Like below: Advance Thanks
Bhavinkumar Patel
  • 515
  • 1
  • 12
  • 28
8
votes
1 answer

How to create a submenu for Floating Action Button in Android Material Design?

I want to create a submenu after click in my floating action button like this : I already know this Library : https://github.com/futuresimple/android-floating-action-button But I want to create this with the native FAB of android support design…
lopez.mikhael
  • 9,943
  • 19
  • 67
  • 110
8
votes
3 answers

Add dropdown arrow indicators to menu items that have submenus only?

I am currently trying to add arrow indicators on my navigation menu for items which have submenu options. Currently I am using this CSS: .mainNav li > a:after { color: #444; content: ' ▾'; } But this adds a dropdown arrow to every
  • user3101431
    • 407
    • 2
    • 8
    • 15
    7
    votes
    2 answers

    Creating a submenu

    I want to make a sub menu like this Mozilla Firefox sub menu: This is what it is like now (in my program): But I want it to look like Firefox were it has an additional menu when you have your mouse over it. #define ID_SM 1 LRESULT CALLBACK…
    Smarty57
    • 75
    • 1
    • 1
    • 6
    7
    votes
    5 answers

    how to create a nested menu using angular mat-nav material? (updated)

    I'm trying to create a nested mat-menu items for my angular app. I got some solutions only where the nested options would appear as a pop-up, where i'm expecting it to be a drop-down where we could choose the menu lying under it when triggered. I…
    krishna ram
    • 85
    • 1
    • 2
    • 11
    7
    votes
    1 answer

    navbarMenu within navbarMenu in Shiny

    If I use the following UI within Shiny I get roughly the output I want but it isn't actually working as the lowest level navbarMenu displays it's top level label and the arrow to indicate it is expandable but fails to register the sub-items. My…
    Mark
    • 187
    • 1
    • 8
    7
    votes
    2 answers

    PHP - Making a nested tree menu structure from a flat array

    I am making a nested menu array from the response that I get from WP database. I am getting the data from WP in the controller in Laravel with the help of corcel package, and then making an array with menu data, which is now one level deep. So, when…
    Leff
    • 1,968
    • 24
    • 97
    • 201
    7
    votes
    3 answers

    Cloud9 IDE Main Menu Bar (File, Edit, Run, etc.) stuck minimized?

    I've seemed to minimize the Main Menu Bar (not the specific term), resting at the top, or ceiling, in the Cloud9 IDE. There's a small drop-down arrow located on the top-center and you'd think that would be indicative of bringing it back down or…
    7
    votes
    3 answers

    Android Open Menu from a button

    Is there a way for a button to call a submenu? I currently have a menu where if they select one of the options it opens a submenu, however I want to be able to start the submenu from the Button widget instead of the Menu object. Thanks!
    txagdev
    • 71
    • 1
    • 2
    • 3
    7
    votes
    2 answers

    How to change the indentation of sub menu items in a NavigationView?

    When we define a NavigationView with a section with sub menu items. It left aligns the sub items with the section title:
    infinite-loop
    • 882
    • 11
    • 17
    7
    votes
    2 answers

    Add Submenu to a Menuitem Programmatically - Android

    I am trying to add a SubMenu to my MenuItem programmatically, How do I do that? here's my code so far: @Override public boolean onCreateOptionsMenu(Menu menu) { menu.add(Menu.NONE, R.id.extra_options, Menu.NONE, "Menu1") …
    dinbrca
    • 1,101
    • 1
    • 14
    • 30
    7
    votes
    5 answers

    How to add class and element to -tag in sub-menu of "wp_nav_menu" in WordPress?

    i want to add a class to the a tag of an sub-menu and a b tag inside the link. WordPress gives me this code:
  • Link
    Cray
    • 5,307
    • 11
    • 70
    • 166
  • 1
    2
    3
    94 95