The following question tells how use a vertical scroll bar in the JQuery-ui menu: JQuery UI Menu Scroll
That's good but it appears that doing this doesn't work so well for submenus. The submenus will sometimes create a horrizontal scroll bar at the bottom of their parent instead of extending to the right. Ultimately, I would like both the main menu and my sub menus to scroll verically and not have any horrizontal scrollbars.
As you can see in this fiddle: http://jsfiddle.net/kPVKL/ Menu "two" will open up fine but menu "three" just displays a horrizontal scroll bar.
I suspect my problem is here:
.ui-menu {
width: 150px;
height: 200px;
overflow-y: scroll;
}
- Where did I go wrong?
- Is there a better approach? My only constraint is that I must use the jquery-ui menu, anything else goes.
Thanks in advance.