Recommend this page to a friend! |
Download .zip |
Info | View files (8) | Download .zip | Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2013-08-15 (3 years ago) | 43% | Total: 351 | All time: 99 This week: 38 |
Version | License | JavaScript version | Categories | |||
drag-drop 1.0.0 | GNU General Publi... | 1.0 | Events |
Description | Author | |
This object can handle drag and drop events of page elements. |
This Javascript package implements drag-n-drop functionality in a browser. Supports: - Moving an element horizontally, vertically and in both directions - Snap to grid functionality - Limitation of moving distance - Registering of user-defined function on start, move and stop Tested in the following browsers: IE 6.0, FF 17, Chrome 22, Safari 5.1.1 Dragdrop.js requires Event.js package, which can be acquired at the following links: Github - https://github.com/mark-rolich/Event.js JS Classes - http://www.jsclasses.org/package/212-JavaScript-Handle-events-in-a-browser-independent-manner.html Copyright (C) 2012 Mark Rolich |
Files |
File | Role | Description |
---|---|---|
demo.css | Data | Demo styles |
demo_advanced.html | Data | Advanced demo |
demo_simple.html | Data | Simple demo |
documentation.html | Doc. | Documentation |
Dragdrop.js | Class | Main function |
grid.png | Icon | background image for advanced demo |
license.txt | Lic. | LICENSE |
README | Data | README |
drag-drop-2013-08-15.zip 7KB | |
drag-drop-2013-08-15.tar.gz 4KB | |
Install with Composer |
Needed packages | ||
Class | Download | Why it is needed | Dependency |
---|---|---|---|
Event | .zip .tar.gz | for cross-browser event handling | Required |
Version Control | Reuses | Unique User Downloads | Download Rankings | ||||||||||||||||
100% | 2 |
|
|
User Ratings | ||||||||||||||||||||||||||||||
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.
Other classes that need this package |
Class | Why it is needed | Dependency |
---|---|---|
JS Measure | to enable drag-drop functionality | Required |
JS Rulers Guides | For drag-n-drop functionality | Required |
Related pages |
Github Git repo |
Documentation Documentation with some examples |
Basic example Simple demo |
Advanced example Advanced demo |