Here is an example to help you out:
http://yuiblog.com/sandbox/yui/v252/examples/menu/example04.html
neeta.joshi9 wrote:
>
> Hi,
>
> I am new to YUI and trying to use MenuBat component from Menu family.
>
> The customization I need is -
>
> I do not have multiple MenuBatItems. Instead I want to attach just one
> Item in which I want to specify a block of HTML, possibly a form or
> something. there is no submenu and stuff.
>
> I was wondering, can I add block of HTML code in MenuBarItem object,
> or can I attach an Overlay to a MenuBar instead of MenuBarItem?
>
> Thanks!
>
>
.