468,771 Members | 1,930 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,771 developers. It's quick & easy.

Drag and Drop multiple items between lists at once

Hi People,

Just wondering if any of you have ever come across any javascript
examples that will allow one to drag and drop multiple items between
lists? That is, users would be able to use the "Shift" or "Ctrl"
buttons to select multiple items from LIST 1 and drag them to LIST 2 in
one go.

I've already have the code to drag and drop between lists but for 1
item at a time. The only method to move multiple items between lists
in one go that I'm aware of is to use <select multiple>, but with this
approach I loose the drag and drop feature and will be stuck with
buttons.

If any of you could help I'll really appreciate it.
Thank you
AC

Dec 29 '06 #1
2 7911
an********@gmail.com wrote:
Hi People,

Just wondering if any of you have ever come across any javascript
examples that will allow one to drag and drop multiple items between
lists? That is, users would be able to use the "Shift" or "Ctrl"
buttons to select multiple items from LIST 1 and drag them to LIST 2 in
one go.

I've already have the code to drag and drop between lists but for 1
item at a time. The only method to move multiple items between lists
in one go that I'm aware of is to use <select multiple>, but with this
approach I loose the drag and drop feature and will be stuck with
buttons.
You can probably add mutiple drag behavior quickly to your existing
code. I wrote up an example for adding this to the Yahoo! UI

<URL: http://peter.michaux.ca/article/4>

And here is a more recent example with my drag library

<URL: http://forkjavascript.org/drag/multiple>

Peter

Dec 29 '06 #2
Hi Peter,

Thanks so much for your examples. I'll give them a try now.

Thanks again.
An Chi

Peter Michaux wrote:
an********@gmail.com wrote:
Hi People,

Just wondering if any of you have ever come across any javascript
examples that will allow one to drag and drop multiple items between
lists? That is, users would be able to use the "Shift" or "Ctrl"
buttons to select multiple items from LIST 1 and drag them to LIST 2 in
one go.

I've already have the code to drag and drop between lists but for 1
item at a time. The only method to move multiple items between lists
in one go that I'm aware of is to use <select multiple>, but with this
approach I loose the drag and drop feature and will be stuck with
buttons.

You can probably add mutiple drag behavior quickly to your existing
code. I wrote up an example for adding this to the Yahoo! UI

<URL: http://peter.michaux.ca/article/4>

And here is a more recent example with my drag library

<URL: http://forkjavascript.org/drag/multiple>

Peter
Dec 29 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Karuppasamy | last post: by
reply views Thread by Lauren Quantrell | last post: by
2 posts views Thread by SamSpade | last post: by
3 posts views Thread by Ajay Krishnan Thampi | last post: by
1 post views Thread by emferrari | last post: by
6 posts views Thread by James Allen Bressem | last post: by
3 posts views Thread by VB Programmer | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
1 post views Thread by Marin | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.