Its whatever you want to bind the menu to.  Its what you click to open the
menu.

In their samples they use a <a> tag.  So you could do something like:

<a id="myMenuButton" href="#">Click here to open options</a>

On Wed, Dec 16, 2009 at 11:15 AM, MISS_DUKE <siva...@gmail.com> wrote:

> 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.
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "jQuery UI" group.
> To post to this group, send email to jquery...@googlegroups.com.
> To unsubscribe from this group, send email to
> jquery-ui+unsubscr...@googlegroups.com<jquery-ui%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/jquery-ui?hl=en.
>
>
>

--

You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to jquery...@googlegroups.com.
To unsubscribe from this group, send email to 
jquery-ui+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en.


Reply via email to