marko_one
11-04-2003, 03:07 AM
Hi All,
I need to be able to put in place a pair of buttons which will move the highlighting of a table row's text when I click on the move up / down buttons.
So for instance if I have a table with 10 rows and I have a pair of buttons : eg. Move Up and Move Down. Initially all the text in the cells are Black apart from the first one which is Red. If I Click the move down button then I need a way to highlite the 2nd row by changing it to Red and changing the 1st row to Black effectively moving the highliting down the list. This will happen again for the other rows if I press Move Down, row 3 will change to red and row 2 will change to black. The same happnens in reverse If I press the move up button.
The amount of the rows will be dynamic so I don't think I can ID the td Cells.
Any Ideas?
Thanks
Marko.
I need to be able to put in place a pair of buttons which will move the highlighting of a table row's text when I click on the move up / down buttons.
So for instance if I have a table with 10 rows and I have a pair of buttons : eg. Move Up and Move Down. Initially all the text in the cells are Black apart from the first one which is Red. If I Click the move down button then I need a way to highlite the 2nd row by changing it to Red and changing the 1st row to Black effectively moving the highliting down the list. This will happen again for the other rows if I press Move Down, row 3 will change to red and row 2 will change to black. The same happnens in reverse If I press the move up button.
The amount of the rows will be dynamic so I don't think I can ID the td Cells.
Any Ideas?
Thanks
Marko.