Re: Looking for Pop-up menu...

2009-07-24 Thread Petr Fejfar
On Fri, Jul 24, 2009 at 4:25 AM, Joshua Lim wrote:

> I Think menu2 can do what you want as Ryan said. You can override the
> getCssClass() to return your own class name, because the default is
> yui-skin-sam which will span the width of yui-menu to the whole of the
> containing box.

Yes, I finally came with Mathias support at this solution.

> BTW... whether the menu pop-up on mouse click or mouse over is due the the
> css class "yuimenubarnav" -

Thank you for help,


Petr

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Looking for Pop-up menu...

2009-07-23 Thread Joshua Lim
I Think menu2 can do what you want as Ryan said. You can override the
getCssClass() to return your own class name, because the default is
yui-skin-sam which will span the width of yui-menu to the whole of the
containing box.

final YuiMenuBar mb = new YuiMenuBar("menuBar")
{
@Override
protected String getCssClass()
{
return "mymenuskin";
}
};


HTML



.mymenuskin .yuimenubar {
width: 100px;
background-color: #DDD;
border: 1px solid #000;
float: left;
}

and then customise the menu to what ever look and feel you want. the link
below can be a guide, but also firebug can help you see the css class
generated.

http://developer.yahoo.com/yui/menu/#cssref

BTW... whether the menu pop-up on mouse click or mouse over is due the the
css class "yuimenubarnav" -
http://developer.yahoo.com/yui/menu/#usingmenubar - unforunately at this
moment, this is not overriddable.

hth josh


2009/7/23 Petr Fejfar 

> On Thu, Jul 23, 2009 at 2:01 AM, Ryan McKinley wrote:
>
> > why not just a YUI menu?  (not a context menu)
>
> Do you mean to use menu (not menu2) with permanently visible single
> menubar's item and pull down associated menu on click and resign on
> mouse over functinality?
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: Looking for Pop-up menu...

2009-07-22 Thread Petr Fejfar
On Thu, Jul 23, 2009 at 2:01 AM, Ryan McKinley wrote:

> why not just a YUI menu?  (not a context menu)

Do you mean to use menu (not menu2) with permanently visible single
menubar's item and pull down associated menu on click and resign on
mouse over functinality?

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Looking for Pop-up menu...

2009-07-22 Thread Ryan McKinley

why not just a YUI menu?  (not a context menu)


On Jul 22, 2009, at 12:47 PM, Petr Fejfar wrote:


Hi all,

I went through lot of Javascript integrating components
to find out pop-up menu similiar to YUI context menu
except a menu could be poped-up by left mouse click,
mouse hover etc...

But I did not find any. Is somewhere such component?


Thanks, Petr

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Looking for Pop-up menu...

2009-07-22 Thread Petr Fejfar
Hi all,

I went through lot of Javascript integrating components
to find out pop-up menu similiar to YUI context menu
except a menu could be poped-up by left mouse click,
mouse hover etc...

But I did not find any. Is somewhere such component?


Thanks, Petr

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org