Drag and Drop: Handle drag and drop events of page elements

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (8)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2013-08-15 (1 year ago) RSS 2.0 feedNot enough user ratingsTotal: 328 All time: 110 This week: 83Up
Version License JavaScript version Categories  
drag-drop 1.0.0GNU General Publi...1.0Events
Description Author  

This object can handle drag and drop events of page elements.

It can start listening to mouse events on given page elements to track drag and drop movements.

The can call given callback function when the drag starts, moves or stops.

The movements of the dragged elements can be restricted one of the axis, vertical or horizontal.

The movement positions can be snapped to positions of a given spacing distance between the snap points.

Picture of Mark Rolich
Name: Mark Rolich <contact>
Classes: 11 packages by
Country: Armenia Armenia
Age: 34
All time rank: 161 in Armenia Armenia
Week rank: 10 Up1 in Armenia Armenia Equal
Innovation award
Innovation award
Nominee: 5x

Winner: 1x

  Files folder image Files  
File Role Description
Accessible without login Plain text file demo.css Data Demo styles
Accessible without login Plain text file demo_advanced.html Data Advanced demo
Accessible without login Plain text file demo_simple.html Data Simple demo
Accessible without login HTML file documentation.html Doc. Documentation
Plain text file Dragdrop.js Class Main function
Accessible without login Image file grid.png Icon background image for advanced demo
Accessible without login Plain text file license.txt Lic. LICENSE
Accessible without login Plain text file README Data README

Downloaddrag-drop-2013-08-15.zip 7KB
Downloaddrag-drop-2013-08-15.tar.gz 4KB
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
Event Download .zip .tar.gz for cross-browser event handling Required
 Version Control Reuses Unique User Downloads Download Rankings  
 100%2Total:328All time:110
 This week:0This week:83Up