Hi Sumit, Thank you so much for getting back to me. The hovering works just fine. When hover over the menu item the class changes to gwt-MenuItem-selected. But when an actual item is selected, the class/id does not change. So I'm not sure how to change the class so that I can give it specific style. I'd really appreciate it if you could help.
Thanks again Sumit. Karmela On Oct 2, 9:54 am, "Sumit Chandel" <[EMAIL PROTECTED]> wrote: > Hi Karmela, > Have you taken a look at the latest Menu Bar widget in the Showcase sample > application? It provides default CSS styles for menu items to be highlighted > whenever the cursor is hovering over them. > > You can check it out here: > > http://gwt.google.com/samples/Showcase/Showcase.html#CwMenuBar > > Note that you can see both the Java source and the CSS code for the Menu Bar > in the same display. You should be able to use this and tweak the styles for > the purpose of your application. > > Hope that helps, > -Sumit Chandel > > On Tue, Sep 30, 2008 at 4:45 PM, karmela <[EMAIL PROTECTED]> wrote: > > > Hi all, > > Hope someone can help me with this. > > I want to have the active menu item to be highlighted. Basically when > > an item gets selected and goes to a page, i want that link (menu item) > > to be in a different color. > > Is that possible to do with GWT? > > > Thanks! --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---