Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
This Javascript package implements drag-n-drop functionality in a browser
JavaScript CSS
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
Dragdrop.js
README
demo.css
demo_advanced.html
demo_simple.html
documentation.html
grid.png
license.txt

README

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
Something went wrong with that request. Please try again.