-
30 Jan 2011 10:08 AM #1
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:
Thanks in advance,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 });
Aleksandar
-
30 Jan 2011 5:55 PM #2Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- Frederick MD, NYC, DC
- Posts
- 16,169
- Vote Rating
- 28
Please do not duplicate your posts in the free and premium help/discussion section. Closing this dup.

Jay Garcia @ModusJesus || Modus Create co-founder
Ext JS in Action author
Sencha Touch in Action author
Get in touch for Ext JS & Sencha Touch Touch Training
We are also working on Video-based Sencha Touch training: Check it out here.
Similar Threads
-
[3.2] Ext.ux.slider.Highlight - A slider background color plugin
By mankz in forum Ext 3.x: User Extensions and PluginsReplies: 8Last Post: 8 Feb 2012, 5:03 AM -
Color of “Text Highlight Color” icon is not reflecting accordingly. Please help
By Amruta K in forum Ext GWT: DiscussionReplies: 2Last Post: 19 Dec 2010, 9:26 PM -
Highlight of Selected Item when animating using setCard method
By ClintPick in forum Sencha Touch 1.x: DiscussionReplies: 2Last Post: 10 Aug 2010, 1:18 AM -
htmleditor - font color & highlight color
By markireland in forum Ext 2.x: Help & DiscussionReplies: 2Last Post: 18 Mar 2008, 5:04 AM

