Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Re: Re: User Interface - Arranging a list in HTML

by BrowserUk (Pope)
on Nov 11, 2002 at 10:28 UTC ( #211889=note: print w/replies, xml ) Need Help??


in reply to Re: Re: User Interface - Arranging a list in HTML
in thread User Interface - Arranging a list in HTML

Not necessarially. If the user selects an item in the right list and one or more in the left list, then the items from the left list are inserted below the selected item in the left list.

In your example of swaping items 3 & 4 in the right list, it becomes a two step process.

  1. Select item 3 in right list, click "move left" button.

    The screen is re-drawn with item from position 3 at the bottom of the left hand list.

  2. Select the bottom item in the left list, select the third item in the right list, click "move right".

    The list is re-drawn with the previously third item moved below the previously 4th item.

    The rest of the list remains in situ.

It's actually much harder to describe than do, but I guess that's one reason for not using it. Indicating how to use it to your average (impatient) user.

You can also code the logic of the switching from one to the other into javascript associated with the buttons if server hits is a concern, and you can guarentee your users will have js turned on. You could even get clever and have the buttons use javascript if available or submit to the server if not. Just a thought:)


Nah! You're thinking of Simon Templar, originally played (on UKTV) by Roger Moore and later by Ian Ogilvy
  • Comment on Re: Re: Re: User Interface - Arranging a list in HTML

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://211889]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2020-06-05 01:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?



    Results (35 votes). Check out past polls.

    Notices?