DNDX.JS is a JavaScript library enhancing Drag & Drop User Interface Interactions for your web page.

Main concern of DNDX.JS is providing you HIGHER LEVEL Drag & Drop features while delegating most of its lower level Drag & Drop functions to jQuery UI's Draggable and Droppable Widgets.

dndx(".draggable", ".droppable")
    .visualcue("Exterior")
    .onstart(onStartCallback)
    .onconflict(onConflictCallback)
    .onover(onOverCallback)
    .ondrop(onDropCallback);
                    

Please, click the tabs above for demo pages to check out what DNDX.JS can do.

Also, check out the API documentation. It has more detailed discussion about what the library looks like.

Drag the envelope into the trash can

Row 1, Col 1
(Drop Here)
Row 1, Col 2
(Drop Here)
Row 1, Col 3
(Drop Here)
Can't Drop This Row
Row 2, Col 1
(Drop Here)
Row 2, Col 2
(Drop Here)
Row 2, Col 3
(Drop Here)
Can't Drop This Row
Row 3, Col 1
(Drop Here)
Row 3, Col 2
(Drop Here)
Row 3, Col 3
(Drop Here)
Can't Drop This Row


Open Dialog

0 (Drag Me)
1 (Drag Me)

Drop Here!
Drop Here!
Drop Here!


Do Not Resolve Conflict

The Programming Languages You Like (You can change the order)

The Programming Languages You Don't Like

Throw Away Languages You Really Hate

  1. JavaScript
  2. Java
  3. C++
  4. Objective C
  5. C
  6. Ruby
  7. Python
  8. PHP
  9. Groovy
  10. Scala