1. #1
    Sencha User
    Join Date
    Feb 2009
    Posts
    38
    Vote Rating
    0
    soma13 is on a distinguished road

      0  

    Question Unanswered: text and onclick event

    Unanswered: text and onclick event


    Hi all,

    I have made a notification bar (simple div element with css on my main html page) on the right side on my page (see the attached image).
    There are some text on it and there is a event counter text too (big green digit). I need to handle onClick event when user click on the big green text: after user click on the big text or somewhere in my notification bar I want to show an simple panel with widgets.

    So, how can I attach a simple onClick event to text widget?

    I do not want to use button widget because it has borders and etc. It is not too nice on my notification bar.

    Please help me.

    Thx
    Attached Images
    SoMa

  2. #2
    Sencha User
    Join Date
    Feb 2009
    Posts
    38
    Vote Rating
    0
    soma13 is on a distinguished road

      0  

    Default


    Hi All,

    I solved my problem.
    I use com.google.gwt.user.client.ui.Anchor widget instead of com.extjs.gxt.... Text or Label.

    Anchor widget has a addClickHandler method.

    numberOfNotificationAnchor.addClickHandler( new ClickHandler()
    {
    @Override
    public void onClick(ClickEvent event)
    {
    Info.display("event", "onClick");
    }
    });
    SoMa

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar