Yahoo! UI multiple drag with proxy
This example uses Yahoo! UI version 0.10 of yahoo.js, dom.js, event.js and dragdrop.js. I have created created two JavaScript files called extend.js and apple.js. Download the zipped file of this example.
My blog entry about this example.
Things to try
- Click and drag an apple to see the proxy move. This is just like normal.
- Click an apple and release. Then hold the command key on Mac or the control key on Windows and click other apples. This will select multiple apples. Now click and drag one of the selected apples. Note the proxy states how many items are selected.
- Command-click a few apples to select them. Now click somewhere away from the apples to see the apples unselect.
- Experiment by adding other features to this example.
-
apple_1
-
apple_2
-
apple_3
-
apple_4