1. #1
    Touch Premium Member
    Join Date
    Dec 2010
    Posts
    55
    Vote Rating
    0
    sench23 is on a distinguished road

      0  

    Question Animating (fadeout) background color - highlight() method

    Animating (fadeout) background color - highlight() method


    Hi guys,
    I want to animate/fadeout a background color (current background white, then change it to green/red and then fadeout back to white). I couldnt find anything similar on sencha api docs, but i did find something on the web (about highlight() method) but I couldn't make it working for me.
    Here is the code example they have:
    Code:
    // default: highlight background to yellow
    el.highlight();
    
    // custom: highlight foreground text to blue for 2 seconds
    el.highlight("0000ff", { attr: 'color', duration: 2 });
    
    // common config options shown with default values
    el.highlight("ffff9c", {
        attr: "background-color", //can be any valid CSS property (attribute) that supports a color value
        endColor: (current color) or "ffffff",
        easing: 'easeIn',
        duration: 1
    });
    Thanks in advance,
    Aleksandar
    -->

  2. #2
    Sencha - Community Support Team jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,337
    Vote Rating
    75
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    Please do not duplicate your posts in the free and premium help/discussion section. Closing this dup.
    -->

Similar Threads

  1. [3.2] Ext.ux.slider.Highlight - A slider background color plugin
    By mankz in forum Ext 3.x: User Extensions and Plugins
    Replies: 8
    Last Post: 8 Feb 2012, 5:03 AM
  2. Replies: 2
    Last Post: 19 Dec 2010, 9:26 PM
  3. Highlight of Selected Item when animating using setCard method
    By ClintPick in forum Sencha Touch 1.x: Discussion
    Replies: 2
    Last Post: 10 Aug 2010, 1:18 AM
  4. htmleditor - font color & highlight color
    By markireland in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 18 Mar 2008, 5:04 AM

Thread Participants: 1

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