The YUI Menu control adds dropdown functionality and the ability to create JavaScript menus.
Questions tagged [yui-menu]
19 questions
2
votes
2 answers
Can I disable the blue highlighting in YUI menus on Safari and Chrome?
I'm getting a sort of glow-y blueish rollover highlighting of my YUI menu items when I'm in Safari and Chrome (but not Firefox). Cool though this is, it's not consistent with the rest of my site's highlighting, and I'd like to disable it. I'm…

Jim Miller
- 3,291
- 4
- 39
- 57
2
votes
2 answers
YUI Menu rendering below "fold" on first open
I have a YUI menu on the bottom navigation of the screen which creates a large white space beneath it where the action list would be rendered if visible...
On the first click the menu will render in that white space which requires the user to scroll…

Chris Wagner
- 20,773
- 8
- 74
- 95
1
vote
0 answers
jQuery replacement of YUI menu -> menu fail
I've got a div containing, among other things, a simple YUI menu -- it's a popup, attached to a widget inside the div. One of the actions in the menu calls a javascript function that does an ajax call to the server, gets new content for the DIV,…

Jim Miller
- 3,291
- 4
- 39
- 57
1
vote
3 answers
YUI-Style Menu based in jQuery for Website Navigation
I've used YUI Menu in the past for website navigation, and was impressed with it's ability to handle all sorts of cases like viewport size detection, etc. My current project is centered in jQuery, and I wondering if there's a good comparable menu…

Sonny
- 8,204
- 7
- 63
- 134
1
vote
2 answers
YUI is overwriting my id. How can I preserve them?
I am using YUI with Purecss and I noticed that my elements with their id's get overwritten when creating dropdown menus.
They turn into something like:
See this example: PureCSS Dropdown
How can I preserve my given…

zer02
- 3,963
- 4
- 31
- 66
1
vote
1 answer
YUI MenuButton: menu doesn't show when menu widget is added to button widget
Using YUI, I want to create a menu button, passing in the menu widget instance.
Result is what looks like a menu button, but the menu doesn't show.
test case: http://sandbox.kluger.com/menu_test.html
// key code section:
var D = YAHOO.util.Dom,
…

Larry K
- 47,808
- 15
- 87
- 140
0
votes
1 answer
How to catch the escape key that closes a YUI menu?
I'm doing some stuff with YUI menus, which is basically working fine. When I raise the menu through a keyclick on a button, I do some coloring of some DIVs to create a particular menu effect. Clicking on the button again closes the menu and undoes…

Jim Miller
- 3,291
- 4
- 39
- 57
0
votes
1 answer
YUI MenuButton is huge when first displayed
I have a YUI (2.8.x) MenuButton that is lazily loaded via an AJAX call. I'm not doing anything special to limit the number of items visible at one time. When the items are first loaded, they are all visible, even if the page has to be extended to…

Hank Gay
- 70,339
- 36
- 160
- 222
0
votes
3 answers
Whats the correct CSS to apply to a YUI menu bar?
I am trying to figure out the best way to use CSS sprites as header images for a YUI menu control.
I have a CSS sprite with the following CSS :
.navImg0{width:61px;height:23px;background-repeat:no-repeat;background-position:top…

Simon_Weaver
- 140,023
- 84
- 646
- 689
0
votes
1 answer
How to get to a yuimenu object after it's been created?
I'm got some yuimenu-based popup menus working, and, generally speaking, all is well. However, I've found that I need to get my hands on a menu object so I can do things to it after it's been created (e.g., hide an exposed menu when something else…

Jim Miller
- 3,291
- 4
- 39
- 57
0
votes
1 answer
Can I make an item in a YUI menu that is NOT a menu item
I have a YUI menu top bar navigation menu based from this example.
I'd like to be able to insert items to it that serve as captions and not menu items. For instance I may have a list of products in different categories, and I want a category heading…

Simon_Weaver
- 140,023
- 84
- 646
- 689
0
votes
2 answers
YUI MenuBar positioned behind a ASP.NET Silverlight Control
Using the YUI Menubar, when the items drop down they appear behind a ASP.NET Silverlight Control. I am not using YUI layout.
I've already tried setting the z-index:99 and the position:relative for in menubar css, as well as setting the div's…
Alan Giagnocavo
0
votes
1 answer
How to require explicit dismissal of a yui popup menu?
I have a page with a couple of widgets on it, each of which, when clicked, brings up a yui popup menu: If I click on widget 1, its menu comes up. If I now click on widget 2, widget 1's menu gets a hide event, and widget 2's menu gets a show event…

Jim Miller
- 3,291
- 4
- 39
- 57
0
votes
1 answer
How to update yui menu positions after an ajax page insertion?
I've got a page with a bunch of items on it. Each item has a widget that, when clicked, brings up a YUI popup-style menu of options. So far, this is working fine.
I'm using jQuery/ajax calls to insert new items into the page, pushing existing…

Jim Miller
- 3,291
- 4
- 39
- 57
0
votes
3 answers
Why is YUI Menu waiting for my page images to load?
Edit: This is a confirmed bug in jQuery 1.3.1. It is fixed in jQuery 1.3.2.
I have a YUI menu control exactly like this sample with sub menus along the top.
I tried using Yahoo's code to initialize the menu…

Simon_Weaver
- 140,023
- 84
- 646
- 689