From 92c61b3507690b5a4834303ffbef79aaa1c77f33 Mon Sep 17 00:00:00 2001 From: kborchers Date: Wed, 19 Oct 2011 13:59:07 -0500 Subject: [PATCH] Menubar: Allow structures other than just UL/LI --- demos/menubar/default.html | 55 ++++++++++++++++++++++++++++++++++ themes/base/jquery.ui.menu.css | 2 +- ui/jquery.ui.menubar.js | 31 ++++++++++--------- 3 files changed, 73 insertions(+), 15 deletions(-) diff --git a/demos/menubar/default.html b/demos/menubar/default.html index 5e9ca2145..718b4a1bf 100644 --- a/demos/menubar/default.html +++ b/demos/menubar/default.html @@ -35,6 +35,15 @@ }, select: select }); + + $("#bar3").menubar({ + position: { + within: $("#demo-frame").add(window).first() + }, + select: select, + items: ".menubarItem", + menuElement: ".menuElement" + }); });