From: maggiewachs Date: Thu, 24 Feb 2011 21:00:01 +0000 (-0500) Subject: Added a second example to show a menubar with buttons and icons and one without ... X-Git-Tag: 1.9m5~268 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=75afd3319b98cd19b21027ddc26c700f38841c79;p=jquery-ui.git Added a second example to show a menubar with buttons and icons and one without (default) --- 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"); + } + }); + + }); - + +