View Full Version : Dynamic Text Color Changed Function
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?
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?
02-24-2007, 02:54 AM
Wait... I think I've answered my own question :)
02-24-2007, 04: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, 07:28 AM
I found the problem, so I think it's working pretty good now :)
02-24-2007, 02:23 PM
Looking forward to checking it out! Thank you!
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.