Hey guys. My code changes the font color of a table row to red when a checkbox is checked, and reverts when unchecked. I need to apply this to the text in a specific DIV rather than the checkbox row. I also need the text to fade to red then revert each time a checkbox changes state, rather than stay red and revert when unchecked. I basically want to draw users attention to a totals panel whenever there is checkbox activity. thanks guys, appreciate any help.
I cant quite wrap my head around what you are tying to do jsut yet, bu Id like to point out you have the same color listed for both options on the color var
you could also use the code you have, but put one of the colors as a much lighter red and do another animate in the callback function of the original animate function. if you would rahter do somethign like that I think I could write it for you
Thanks, thats great. the effect is working but rather than fade from black to transparent to black, I need from black to red to black, so a color fade rather than fade. Also it currently affects the checkbox row including the checkbox, not text in the test DIV. thanks again
Just went to apply this to my actual page and it's not working on form fields within that DIV, only normal text. Can this solution be applied to text within form elements?
ok, i jsut ran your orginal code on my test server. im still confused I guess. ok so you want the individual "clcik me" text to change whenever the checkbox is checked, or whenever it changes?
also the text in the #text div, what do you want to happen there?
Bookmarks