If you want a menu which is very personnalized you should uses div elements with some handlers.
You must play with dom as html / CSS / Javascript but you can do in gwt / CSS only. You can try with this begin: <code> public class MyDivPanel extends FlowPanel implements MouseDownHandler, HasMouseDownHandlers { public MyDivPanel() { super(); this.addMouseDownHandler(this); } public void onMouseDown(MouseDownEvent arg0) { GWT.log("Mouse Down Event OK", null); } public HandlerRegistration addMouseDownHandler(MouseDownHandler handler) { return addDomHandler(handler, MouseDownEvent.getType()); } } </code> Philippe On 8 jan, 13:12, Abdullah Shaikh <abdullah.shaik...@gmail.com> wrote: > Hey this where the issue is, when the mouse is not over the tab bar, that > means it can be in 2 places either > > 1) on the menu itself > or > 2) not on the menu. > > if we hide the menu if its not over tab bar, its ok for the 2 point, but > when its on the menu itself, it will close the menu bcoz the mouse is not > over the tab bar. > > - Abdullah > > On Fri, Jan 8, 2010 at 5:23 PM, mariyan nenchev > <nenchev.mari...@gmail.com>wrote: > > > > > Well, when the mouse is not over the tab bar. > > > On Fri, Jan 8, 2010 at 1:09 PM, Abdullah Shaikh < > > abdullah.shaik...@gmail.com> wrote: > > >> And when should I hide the menu ? also should I use PopupPanel or > >> DialogBox for menu ? > > >> I will try out with TabPanel, will update my findings. > > >> Thanks > > >> - Abdullah > > >> On Fri, Jan 8, 2010 at 4:10 PM, mariyan nenchev < > >> nenchev.mari...@gmail.com> wrote: > > >>> Well it's actually very simple. > >>> Create one TabPanel and on mouse over event (over the tab) display menu > >>> using absolute positioning starting right under the selected tabbar. > > >>> On Fri, Jan 8, 2010 at 11:55 AM, Abdullah Shaikh < > >>> abdullah.shaik...@gmail.com> wrote: > > >>>> Finally got this link,http://www.salesforce.com/demos/, when you go to > >>>> Products or Services menu, there is a popup displayed with 2 columns. I > >>>> wanted the same way. > > >>>> Any idea on how to achieve this ? > > >>>> - Abdullah > > >>>> On Fri, Jan 8, 2010 at 3:01 PM, Abdullah Shaikh < > >>>> abdullah.shaik...@gmail.com> wrote: > > >>>>> Sorry I should have given some other example site, but I couldn't find > >>>>> any. > > >>>>> Actually I want the menu drop down to be in 2 columns or may be 3 ? > > >>>>> I will try to find an example online. > > >>>>> - Abdullah > > >>>>> On Fri, Jan 8, 2010 at 2:43 PM, Olivier <oliv...@digiworks.es> wrote: > > >>>>>> Hi, > > >>>>>> Why don't you use the menu bar. > >>>>>>http://gwt.google.com/samples/Showcase/Showcase.html#CwMenuBar > > >>>>>>http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/g... > > >>>>>> Oli > > >>>>>> On 8 Jan 2010, at 09:51, Abdullah Shaikh wrote: > > >>>>>> Hi, > > >>>>>> I want to create menus like on this sitehttp://www99.shopping.com/, > >>>>>> I have used Hyperlink for menu, and added a mouseover handler, on > >>>>>> mouseover > >>>>>> I display a PopupPanel or should I use DialogBox ?, but now the issue > >>>>>> when > >>>>>> should I hide the PopupPanel, also there is no mousehandlers for > >>>>>> popupanel > >>>>>> so that I can add a mouseout handler and hide the PopupPanel, but > >>>>>> again this > >>>>>> will also not solve the issue as the user might not take his cursor > >>>>>> over > >>>>>> PopupPanel. > > >>>>>> Any Ideas ? > > >>>>>> - Abdullah > >>>>>> -- > >>>>>> You received this message because you are subscribed to the Google > >>>>>> Groups "Google Web Toolkit" group. > >>>>>> To post to this group, send email to > >>>>>> google-web-tool...@googlegroups.com. > >>>>>> To unsubscribe from this group, send email to > >>>>>> google-web-toolkit+unsubscr...@googlegroups.com. > >>>>>> For more options, visit this group at > >>>>>>http://groups.google.com/group/google-web-toolkit?hl=en. > > >>>>>> --- > >>>>>> Olivier > >>>>>> Digiworks > > >>>>>> *Política de Protección de Datos de Carácter Personal* > >>>>>> En cumplimiento de la Ley Orgánica 15/1999, de 13 de diciembre, sobre > >>>>>> protección de Datos de Carácter Personal (LOPD) DIGIWORKS SPAIN, S.L. > >>>>>> informa a los usuarios de que: > > >>>>>> Los Datos de Carácter Personal que recoge son objeto de tratamiento > >>>>>> automatizado y se incorporan en los ficheros correspondientes, > >>>>>> debidamente > >>>>>> registrados en la Agencia Española de Protección de Datos. El usuario > >>>>>> podrá, > >>>>>> en todo momento, ejercitar los derechos reconocidos en la LOPD, de > >>>>>> acceso, > >>>>>> rectificación, cancelación y oposición. El ejercicio de estos derechos > >>>>>> puede > >>>>>> realizarlo el propio usuario mediante comunicación escrita en > >>>>>> la siguiente dirección postal: > > >>>>>> *DIGIWORKS SPAIN, S.L.* > >>>>>> *AVDA SAN RAFAEL, 11, LOCAL 2* > >>>>>> *03580 ALFAZ DEL PI* > >>>>>> *ALICANTE* > > >>>>>> También pueden ejercitar estos derechos en los términos que la > >>>>>> normativa aplicable establece y que puede consultar enwww.agpd.es. > > >>>>>> -- > >>>>>> You received this message because you are subscribed to the Google > >>>>>> Groups "Google Web Toolkit" group. > >>>>>> To post to this group, send email to > >>>>>> google-web-tool...@googlegroups.com. > >>>>>> To unsubscribe from this group, send email to > >>>>>> google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2Bunsubs > >>>>>> cr...@googlegroups.com> > >>>>>> . > >>>>>> For more options, visit this group at > >>>>>>http://groups.google.com/group/google-web-toolkit?hl=en. > > >>>> -- > >>>> You received this message because you are subscribed to the Google > >>>> Groups "Google Web Toolkit" group. > >>>> To post to this group, send email to > >>>> google-web-tool...@googlegroups.com. > >>>> To unsubscribe from this group, send email to > >>>> google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2Bunsubs > >>>> cr...@googlegroups.com> > >>>> . > >>>> For more options, visit this group at > >>>>http://groups.google.com/group/google-web-toolkit?hl=en. > > >>> -- > >>> You received this message because you are subscribed to the Google Groups > >>> "Google Web Toolkit" group. > >>> To post to this group, send email to google-web-toolkit@googlegroups.com > >>> . > >>> To unsubscribe from this group, send email to > >>> google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2Bunsubs > >>> cr...@googlegroups.com> > >>> . > >>> For more options, visit this group at > >>>http://groups.google.com/group/google-web-toolkit?hl=en. > > >> -- > >> You received this message because you are subscribed to the Google Groups > >> "Google Web Toolkit" group. > >> To post to this group, send email to google-web-tool...@googlegroups.com. > >> To unsubscribe from this group, send email to > >> google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2Bunsubs > >> cr...@googlegroups.com> > >> . > >> For more options, visit this group at > >>http://groups.google.com/group/google-web-toolkit?hl=en. > > > -- > > You received this message because you are subscribed to the Google Groups > > "Google Web Toolkit" group. > > To post to this group, send email to google-web-tool...@googlegroups.com. > > To unsubscribe from this group, send email to > > google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2Bunsubs > > cr...@googlegroups.com> > > . > > For more options, visit this group at > >http://groups.google.com/group/google-web-toolkit?hl=en.
-- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.