What is that "#myMenuButton" in the menu widget?
I read the article about the Filament group menu at the following URL:
http://www.filamentgroup.com/lab/jquery_ipod_style_and_flyout_menus/
The above mentioned menu, which may be the future jQuery menu widget,
is as excellent as other jQuery widgets.
The above article mention the following (example) code to be used to
create this menu:
$(document).ready(function(){
$('#myMenuButton').menu({
content: $('#myContent').html(),
maxHeight: 180,
positionOpts: { offsetX: 10, offsetY: 20 },
showSpeed: 300
});
});
I understand the "#myContent" is the selector of the unordered list
which is to be converted as the menu. But what is that
"#myMenuButton"? Please anyone explain with a small example.
--