SirSteve
02-23-2007, 10:33 PM
I am needing a function that takes an id and then dynamically changes the text color for the element with that id. Any takers?
|
||||
Dynamic Text Color Changed FunctionSirSteve 02-23-2007, 10:33 PM I am needing a function that takes an id and then dynamically changes the text color for the element with that id. Any takers? MikeFoster 02-24-2007, 02:50 AM Hi SirSteve, Welcome to CodingForums! The animation is easy (http://cross-browser.com/x/examples/xanimation.html) - but the real question here is how do you increment a color value? Do you increment it just like any number - or increment R, G and B separately? MikeFoster 02-24-2007, 02:54 AM Wait... I think I've answered my own question :) MikeFoster 02-24-2007, 04:28 AM It's not finished, but check it out: xAniColor (http://cross-browser.com/x/examples/xanicolor.html) ;) edit... FF does what I expect but Opera and IE don't... but still working on it :) MikeFoster 02-24-2007, 07:28 AM I found the problem, so I think it's working pretty good now :) SirSteve 02-24-2007, 02:23 PM Mike, Looking forward to checking it out! Thank you! |
| |||
EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum