Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

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

by oakbox (Chaplain)
on Nov 11, 2002 at 10:12 UTC ( #211886=note: print w/replies, xml ) Need Help??


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

I thought about this one, but if a user is down around item 17 and suddenly decides that items 3 and 4 need to be flipped, they have to 'unload' all of the items from 3 down and then 'reload' all items below it.

I know this question is a bit off topic, but I've run into this problem many times in web design projects and I haven't found a good way to address it yet.

oakbox

  • Comment on Re: Re: User Interface - Arranging a list in HTML

Replies are listed 'Best First'.
Re: Re: Re: User Interface - Arranging a list in HTML
by BrowserUk (Pope) on Nov 11, 2002 at 10:28 UTC

    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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (1)
As of 2020-10-25 23:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (249 votes). Check out past polls.

    Notices?