Results 1 to 2 of 2

Thread: Animating (fadeout) background color - highlight() method

  1. #1
    Touch Premium Member
    Join Date
    Dec 2010
    Vote Rating

    Question 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:
    // default: highlight background to yellow
    // 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,

  2. #2
    Sencha User's Avatar
    Join Date
    Mar 2007
    DC Area =)
    Vote Rating


    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

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts