1. #1
    Sencha User
    Join Date
    Sep 2011
    Location
    Taiwan
    Posts
    74
    Vote Rating
    0
    cwtuan is an unknown quantity at this point

      0  

    Default [4.1] How to set opacity for a node in tree panel?

    [4.1] How to set opacity for a node in tree panel?


    I would like to set opacity for a node in tree panel.
    Does anyone know how to use setOpacity in nodeInterface?

    Thanks!

  2. #2
    Sencha - Community Support Team sword-it's Avatar
    Join Date
    May 2012
    Location
    Istanbul
    Posts
    1,333
    Vote Rating
    85
    sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough

      0  

    Default


    Hi!
    You can set the opacity by using element's ID, as an example,
    setOpacity Sets the opacity of the element.
    Code:
    Ext.fly('elementId').setOpacity(.5);
    Ext.fly('elementId').setOpacity(.45, true); // animates
    
    // animates with a duration of half a second
    Ext.fly('elementId').setOpacity(.45, {duration: .5});


    clearOpacity Clears any opacity settings of the element.
    Code:
    Ext.fly('elementId').clearOpacity();
    sword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.

  3. #3
    Sencha User
    Join Date
    Sep 2011
    Location
    Taiwan
    Posts
    74
    Vote Rating
    0
    cwtuan is an unknown quantity at this point

      0  

    Default


    If there is a node with id='xxx' on the tree panel, I execute
    var el = Ext.fly('xxx');
    Why is el null?

Thread Participants: 1

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