Questions tagged [jquery-ui-menu]

The Menu widget that forms part of the jQuery.UI library

Menu is a widget that is a part of the jQuery-ui library.

type: widget
release: 1.9
status: released
documentation: http://api.jqueryui.com/menu/
demo: http://jqueryui.com/menu/

API Documentation

48 questions
11
votes
1 answer

Get the selected item

Sorry if my question is too simple, but I can't figure it out from the jQuery UI documentation. How can I determine which option was clicked within a menu? I tried something like this but it didn't work: var menu = $('#menu'); menu.menu({ …
Uder Moreira
  • 865
  • 6
  • 17
  • 33
8
votes
6 answers

How to hide a jquery ui menu when clicked anywhere else?

I am trying to implement a jquery-ui menu that appears when an object is clicked but disappears when a click is made anywhere other than on the menu itself. This is the code I have so far: $("div.item").click(function(e){ $( "#menu" ).menu(…
Ahmed-Anas
  • 5,471
  • 9
  • 50
  • 72
7
votes
2 answers

jQuery UI menubar: how to activate from keyboard

jQuery UI menubar from jqueryui.com git master allows keyboard navigation if it is active. I'm looking for a way to activate menubar from keyboard. I tried code below. Right Alt / AltGr key is catched. However arrow keys are still ignored in…
Andrus
  • 26,339
  • 60
  • 204
  • 378
5
votes
3 answers

Cannot set focus to a form field in a jQuery UI dialog on clicking a jQueryUI menu item

I've got a jQuery UI dialog containing a one-field form and the autoOpen property is set to false at the beginning. There's another jQuery UI menu on the page and the dialog's open function is binding to the click event of the menu items. I've been…
aarryy
  • 502
  • 5
  • 20
5
votes
1 answer

jquery-ui dropdown menu style

i am using jquery-ui 1.9.2 version which has a new menu option in there. Is there any way that i can change the menu style to be a drop-down just like http://onehackoranother.com/projects/jquery/droppy/# I referred to …
jeev
  • 478
  • 10
  • 25
4
votes
1 answer

How can I stop my JQuery Menu going off the screen for larger menus?

I've got a JQuery menu which I need to always stay visible on the screen at all times. So if the child menu would overlap the bottom of the window it should shift "up". e.g. It seems to work fine for smaller menus (e.g 5 items or less), but…
Urbycoz
  • 7,247
  • 20
  • 70
  • 108
4
votes
3 answers

Trouble Understanding jQuery-UI Popup Menu

I'm trying to figure out how to make a pop-up menu using the jQuery UI menu widget. After searching around, I finally found the following demo that does what I want: http://view.jqueryui.com/menubar/demos/popup/popup-menu.html However, I am having a…
Jonathan Wood
  • 65,341
  • 71
  • 269
  • 466
3
votes
4 answers

jQuery-ui menu submenu not collapsing on mouseout

I'm playing around with the Jquery-ui menu widget and I'm trying to get some functionality that seems like it should be REALLY obvious... but I might be overlooking it, or maybe they did when they wrote it. I was able to get the menu horizontal…
3
votes
1 answer

JQueryUI menu select event not firing

According to the documentation in http://docs.jquery.com/UI/Menu#event-select the following should fire an event when selecting (clicking?) an item, but it doesn't do anything. Am I missing anything?
Julio
  • 720
  • 7
  • 16
2
votes
1 answer

jquery-ui menu keep sub menu open

Assume I have this fiddle http://jsfiddle.net/pnmpn25/VPXjs/ $( "#menu" ).menu(); It's the demo implementation from the jquery ui site. When I click on Salzburg->Delphi the submenu for Delphi stays open, this is what I want. When I click on…
Sumit
  • 1,661
  • 1
  • 13
  • 18
2
votes
1 answer

jquery menu ui. Auto expand 3rd level submenu when 2nd level submenu is expanded

I am trying to get a 3rd level menu to automatically expand when its first level parent is expanded. So in the example I have, when you hover over the first item I want the Item 1 submenu to show (like normal) and then also the first submenu under…
josh
  • 785
  • 3
  • 7
  • 18
2
votes
1 answer

JQuery UI Menu Item prevent default link behavior

I have a JQuery UI menu on my page. I want to alter the default behavior of when an item is selected, so that instead of following the link, my function is just executed. The following works: $mymenu.find("a").click(function(){ return…
Ford
  • 2,559
  • 1
  • 22
  • 27
2
votes
1 answer

Adding drop down menus to jqGrid

I'm working on porting a WinForm app to the browser and would like to retain the ability to have a set of drop down menus along the top (within the Toolbar) of jqGrid. I'm able to create a custom toolbar for the top of the grid w/o cloning the…
Randy
  • 1,955
  • 2
  • 15
  • 24
2
votes
1 answer

jQueryUI menu hide

I create a menu using UL element, I am using jQueryUI to show this menu.
iamght
  • 122
  • 1
  • 10
1
2 3 4