Skip to main content

How can I highlight search terms using animated color change



I have a word cloud and I want to pick a few unique pre-defined words from it and smoothly change their color. Basically I want to do this,







// font color animation

$(".second a").hover(function() {

$(this).animate({ color: "#00eeff" }, 400);

},function() {

$(this).animate({ color: "#FFFFFF" }, 500);

});







but instead of hover being the trigger I just want to have a setTimeout function trigger the change. How can I do that? Any help will be greatly appreciated


Comments

Popular posts from this blog

Slow Android emulator

I have a 2.67 GHz Celeron processor, 1.21 GB of RAM on a x86 Windows XP Professional machine. My understanding is that the Android emulator should start fairly quickly on such a machine, but for me it does not. I have followed all instructions in setting up the IDE, SDKs, JDKs and such and have had some success in staring the emulator quickly but is very particulary. How can I, if possible, fix this problem?