Questions tagged [menu]

A menu is a user interface mechanism that provides the user a means to view and execute application operations. (Generic; please use platform and/or language tags when possible instead)

0
votes
1answer
12 views

Option menu text color different in android pie 9.0

I am using below theme: <style name="CaptureTheme" parent="android:Theme.Holo.Light.DarkActionBar"> In every device, I am getting option menu text color as white with black background, but in ...
-2
votes
0answers
22 views

How i can write a batch script using “dialog --menu” inside dosbox?

i read this theme on this website the thing is there are for bash. i am asking because i want to do the same using the "dialog" (port of freedos) inside the dosbox 0.74 official release because i had ...
0
votes
0answers
13 views

Android how to open a menu / voice recognition

Android Studio here. I am trying to open the menu (the three dot one in the right upper corner) but without clicking it. I am using a voice recognition commands. I already tried to call it in many ...
0
votes
1answer
18 views

CSS <ul><li> submenu won't close on click, need to swap with close link

when in mobile view my css responsive menu for mobile, will show the submenu when you click on the link, but how do change the link, to something like 'Close X' as the list is long, and if you back on ...
-1
votes
0answers
15 views

Fixed position social media plugin

Hello I need a fixed social media plugin that works with ascension to go above navigation or on the right side of page as user is navigation throughout website. An image description of my problem I ...
0
votes
1answer
39 views

Clang on macOS fails linking lmenu from ncurses

I'm new to using the ncurses library, so I've been trying to recreate some of the examples on this page, http://www.tldp.org/HOWTO/NCURSES-Programming-HOWTO/index.html. I've gotten the section about ...
1
vote
1answer
16 views

Why won't the width of my submenus stay constant?

I can't seem to get all my submenus to be the same width as the "Meet the Team" menu. I've tried to define both min-width and width for ul li li, but neither seem to be working properly. Any help on ...
0
votes
0answers
20 views

How can I open the content by menu's options

I`m building a website, and having problem to open the contents from menu options. My fist page just has includes(header,content,footer) and call links css, js....So, how can I change the content by ...
0
votes
0answers
15 views

Wordpress walker menu 101 - How to add class to each element like in a foreach loop

Here's my problem: I want to create a WordPress menu and giving classes to each element of the menu, to recreate a nice menu that I hard-coded, but I'm not quite sure if I understood how the walker ...
0
votes
0answers
33 views

Include fragment in a Navigation Drawer Activity

I'm making an app and I want to include fragments in the sample Navigation Drawer Activity from Android. By default it generates me a activity_main layout who includes an app_bar_main layout with the: ...
0
votes
3answers
27 views

How can I show an icon in a WPF menu root item?

I'm designing an WPF application which needs to show menu items. In order to design a friendly user layout, I want to show an icon in each menu item, even in the root element. All menu items shows the ...
0
votes
1answer
24 views

How can I make my top bar elements clickable in responsive?

I have a slick-menu, a logo, and a search element in my top bar. Unfortunately, I cannot figure out how to make them all clickable at the same time within both my tablet and mobile responsive. Because ...
0
votes
1answer
24 views

NavigationView custom menu item

I am trying to create a Drawer with a header and some menu items in it. I have created the header as a separate layout, and put it into the NavigationView like this: <com.google.android.material....
0
votes
1answer
35 views

How to get specific menu item icon resource id?

Menu is defined like this: <item android:id="@+id/nav_slideshow" android:icon="@drawable/ic_menu_slideshow" android:title="@string/menu_slideshow" ...
1
vote
1answer
9 views

Highlight current post ancestor parent menu items

Page 1 Page 2 Category 1 Page 3 So when Category 1 is active Page 2 gets .current-menu-ancestor which is fine … but as soon as a post of Category 1 is viewed Page 2 has no specific classes … But ...
0
votes
1answer
8 views

How do I get my wp_nav_menu single category page to highlight the parent?

With the new wp_nav_menu system, it is possible to add a category as a menu item, so in my example I have a 'news' category, which is a submenu item of 'About'. About (page) --news (category) --...
0
votes
1answer
13 views

How do I iterate through Wordpress admin menu sub menus?

I can iterate through the top level Wordpress menu items to change the name but I now need to iterate through the sub menu items of that menu. I know I can do it using exact values $submenu['edit.php']...
0
votes
2answers
27 views

Hide parts of menu in Angular (permission)

i am building a Dashboard using Angular. The users of the dashboard are 1: Administrator (who is allowed to see the complete menu in sidebar) and 2: employee (who are only allowed to see part of that ...
0
votes
2answers
22 views

WPF. How to make a separator stretching to menu width?

This may be is a dumb question... but I have not been able to find another question that answers it nor a post that could help me to achieve what I want. I have the following XAML: <Menu> &...
0
votes
0answers
21 views

How to fix WordPress Menu ‘Notice: Trying to get property 'name' of non-object'

I have created a WordPress navigation menu using ```register_nav_menus`` functions but it's showing a notice error message on Menu Settings like Notice: Trying to get property 'name' of non-object in ...
0
votes
2answers
29 views

Game of 6 players

I want the user to choose two players from a menu of 6 players, these players will play a game of tennis. I tried making a menu with submenues but it just gets complicated and messy. def player1(): ...
1
vote
0answers
57 views

Menu items keep appearing on the left, rather than the right. How can I fix this? [duplicate]

Here is a screenshot of the monstrosity. As far as I know, the default for menu items are to appear on the right side, however, none of mine has, and I cannot figure out why. <!-- Menu Bar --> ...
0
votes
1answer
34 views

How to add a click listener to Menu Item in Kotlin

I want to create a Bottom Navigation Bar. I used android BottomNavigationView to create the UI but I don't know how to add an OnClick listener to the items in Menu. I searched on google and found ...
0
votes
0answers
36 views

Flutter Rotating Circular Menu

I am planning to have this kind of menu on my App's Home screen but, any idea on how to achieve that? any library exist? I searched here and there but couldn't find such a lib!
0
votes
0answers
6 views

Menu and Submenu (collapse) repeating twice using php

Menu and Submenu repeting after used foreach. I used Codeigniter and MySql to develop dashboard. Now I try to create dynamic menu and submenu but all the menu and submenu repeating twice. The result ...
0
votes
1answer
17 views

Hide some item in main menu , according to the example image

I bought a source code from Codecanyon. I want to hide or invisible some item and all its children from menu . according to the image( example menu), for example, hide the item " share" ...as, the ...
0
votes
1answer
29 views

Input file upload is not working inside Angular Material Menu

I have Angular Material Menu & placed input file upload control. The file choosing window is not coming when I click on the file upload control. It is not working because the file input is there ...
0
votes
1answer
20 views

WordPress menu is not displaying in the website but is visible in the console log

I have been trying to develop my custom theme but I am having problem displaying menu. I tried calling: wp_nav_menu( array( 'theme_location' => 'primary' ) ) Instead of this wp_nav_menu('...
0
votes
1answer
28 views

Hamburger nav not clickable - already checked scripts and CDN

I've been fighting with this all night. Im trying to implement a simple hamburger menu for the mobile version of my website. Somehow it's not clickable! it just wont expand. There are no console ...
0
votes
1answer
37 views

Menu in RPi Python choice and run two subprocess and kill it

RPi + Python3. I need a menu with 4 options. When option 'AA' -> blink_LED33, option 'BB' -> blink_LED35, option 'CC' -> stop_blink _LED33, option 'DD' -> stop_blink_LED35 I need a while loop in ...
1
vote
0answers
38 views

SyntaxError: unexpected EOF while parsing python

my problem is that there is something wrong with the input command. It won't allow me to fully browse through my menu because every time i exit the menu like for instance if i press enter this message ...
0
votes
2answers
42 views

How do I get the last element child for every item in an array and then show them if they are clicked on

So currently with this code with an onclick I am able to open the sub-menu items. The issue is when I click on one of the items to drop down the menu they all open, but I only want the ones I click ...
0
votes
2answers
32 views

How do I get the last element child for every item in an array

So what I need to do is grab the last element child for every item in an array. function myDropdown() { var x = document.getElementsByClassName('sub-menu-wrap')[0].lastElementChild if (x.style....
0
votes
1answer
52 views

How to make disappear this menu on Wordpress when I click a link?

I have a question that I guess it's pretty simple, but I can't solve it by myself. I am designing a single-page site using WordPress and Pistis template. The thing is that the menu is predefined as a ...
0
votes
2answers
27 views

How to add banner above 'Auto hiding navbar on scroll down'?

I found a great auto hiding navbar but I don't know how to correctly add static banner above it. Can anyone help? Navbar demo: https://codepen.io/Mhmdhasan/pen/mAdaQE Navbar script: $(document)....
0
votes
0answers
18 views

Rails Active Admin menu :label is not working anymore

After updating from activeadmin 1.0.0.pre5 to 1.0.0 the menu items labels are not shown correctly. The code below is what we have been always had and worked perfectly. We're expecting to see a menu ...
1
vote
7answers
45 views

How to center menu within the page instead of having it on the left

I have use this tool to generate the menu: https://www.cssportal.com/css3-menu-generator/ It works great except that the menu is horizontally align to the left of the page. I have tried to wrap the ...
0
votes
0answers
18 views

Using a custom layout to Android's action bar menu items with ClickListener

I am using custom layout as menu item.. I want to click the items of custom layout but an error occurred while running. Here is the snippet given: Null object reference occurred while executing ...
-1
votes
1answer
20 views

Code to add menu strip items and sub items from SQL stored procedure

I need Vb.net code to add menustrip items and sub items dynamically from SQL database, and how can I write the click event code for each menu I don't know it's name before loading from database?
-3
votes
1answer
18 views

java.lang.ClassCastException: android.support.v7.widget.SearchView cannot be cast to android.view.MenuItem

I am developing news app and I have implemented search view in navigation drawer in main activity but I am getting the following exception java.lang.ClassCastException: android.support.v7.widget....
0
votes
1answer
18 views

Wordpress (Grow Pro): How to change primary header menu in header.php

I just started taking care of an already existing website and installed the max mega menu plugin to have more control over the menu buttons. However, on mobile devices the original menu toggle is ...
0
votes
3answers
38 views

How can I select elements having specific siblings?

How can I prevent anchor (<a>) tag from doing nothing if li has ul according to the following code: <aside class="sidebar"> <div id="leftside-navigation" class="nano"> <ul ...
-1
votes
2answers
31 views

javascript - Show symbol rather text in button

I'm using a button to open a menu but I liked that this one shows up the menu symbol instead of the 'Menu' text. As below: &amp;#9776; -> ☰ &amp;#10006; -> ✖ function toggleText(...
-1
votes
0answers
42 views

Change Mobile Menu in Wordpress To Drop Down Like Desktop

I am trying to get the mobile menu to show the drop down when you click on the word categories instead of having to click on the carat on the right. Picture of Menu I believe this is the code ...
4
votes
0answers
60 views

webview contexual menu on select text

I have been trying to customize the contextual menu for a webview, that appears when selecting a text in the webview. Basically I want to add or remove items to the menu. And add some custom event on ...
-1
votes
0answers
21 views

Is there an API to navigate USSD menu programmatically? I only found API for dialing full USSD code and get response once

The problem is that, available TelephonyManager API handles one time USSD interactions. But many financial services USSD applications requires navigation from start to end, not full string of USSD ...
0
votes
1answer
18 views

Django django_suit : how to create two-level menu?

Django 2.2, django-suit==0.2.26 This is more django_suit question rather then django. I have a flat menu defined in my settings.py, each item is a link in admin view: SUIT_CONFIG = { 'ADMIN_NAME'...
0
votes
2answers
22 views

navigation hide menu with jQuery

I build a nav menu with jquery, when I clicked on menu icon it will open but when I clicked again on menu icon it will not close this is html code: <aside class="aside_menu"> <span ...
0
votes
0answers
7 views

Bootstrap menu collapse is unresponsive

My menu is not visible unless I toggle the button in full screen. When I resize the screen to a mobile devise, I have to hit the button to see the menu. I have played with the classes several times ...
0
votes
1answer
19 views

Kendo Grid MVC Open Context Menu on Left Click

I am using MVC Kendo Grid. First column has an icon which opens a right click context menu. I want to left click this icon and open a context menu / menu. Please note on individual row I want to ...