View Full Version : Dynamic Text Color Changed Function
02-23-2007, 11: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?
02-24-2007, 03: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?
02-24-2007, 03:54 AM
Wait... I think I've answered my own question :)
02-24-2007, 05:28 AM
It's not finished, but check it out: xAniColor (http://cross-browser.com/x/examples/xanicolor.html) ;)
FF does what I expect but Opera and IE don't... but still working on it :)
02-24-2007, 08:28 AM
I found the problem, so I think it's working pretty good now :)
02-24-2007, 03:23 PM
Looking forward to checking it out! Thank you!
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.