PDA

View Full Version : Alter text-lines position


jolietjake
08-13-2002, 11:04 AM
Hello, I need some help. I want to create a group of lines like:

Line 1
Line 2
Line 3
...

with a up-arrow and down-arrow button.

When the user select one line (i.e. Line 3) and clicks on the up-arrow (or the down-arrow) button, the line must go up (or down)one position, like this:

Line 1
Line 3
Line 2
...

How can I do it (if it's possible)? thanks

beetle
08-13-2002, 03:11 PM
First of all, how do you plan on users 'selecting lines'. Do you plan on using a multiple SELECT object? Or something else? Checkboxes? Have them enter the lines number? Figure this out first....

jolietjake
08-14-2002, 08:10 AM
Well, I need to show all the lines in the screen, and the lines are like:

name value 1 units value 2 ...
name value 1 units value 2

like an MS Excel rows. But the user wants to reorganize the rows as he wises, like I write before, so I make the lines as separated div's.

If anyone can help me