From 75afd3319b98cd19b21027ddc26c700f38841c79 Mon Sep 17 00:00:00 2001 From: maggiewachs Date: Thu, 24 Feb 2011 16:00:01 -0500 Subject: [PATCH] Added a second example to show a menubar with buttons and icons and one without (default) --- tests/visual/menu/menubar.html | 63 ++++++++++++++++++++++++++++++---- 1 file changed, 57 insertions(+), 6 deletions(-) diff --git a/tests/visual/menu/menubar.html b/tests/visual/menu/menubar.html index bd7ea44ef..d10b83aef 100644 --- a/tests/visual/menu/menubar.html +++ b/tests/visual/menu/menubar.html @@ -27,11 +27,22 @@ $("
").text("Selected: " + ui.item.text()).appendTo("#log"); } }); + + $(".menubar-icons").menubar({ + menuIcon: true, + buttons: true, + select: function(event, ui) { + $("
").text("Selected: " + ui.item.text()).appendTo("#log"); + } + }); + + }); - + +