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

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi