DragLib
Core
DragLib Core is just the file drag.js.
How it works
To create a draggable object,
call the method DragObj.getInstance
that is defined in drag.js:
DragObj.getInstance(oElement);
Where oElement is a relatively or absolutely
positioned element.
Features
There are many features discussed in the tutorial that
allow you to add a lot of extra functionality to drag objects.
See the demo page for
some examples.
- Use Absolutely or Relatively positioned elements
- Add multiple drop targets to each DragObject
- Add event handlers to each DragObject:
onbeforedragstart, ondragstart,
onbeforedrag, ondrag,
ondragstop, ondragend,
ondragdrop
- Mozilla1+/Netscape6+, MSIE 5+ Mac & Win, Safari
- Set multiple handles
Support
All licenses for DragLib come with full support.
DragLib is not free. If you are interested in using DragLib, please see
the buy page.
Latest Updates
Compatibility
Browser Compatibility Chart
| Browser & Platform | Compatibility |
| IE6 |
works great!
|
| Mozilla Mac/Win/Linux |
works great!
|
| IE5 Win |
Works
|
| IE5 Mac |
Works
|
| Safari |
Works
|
| Konqueror 3.1 |
Assumed to Work
|
| Opera 7 |
Assumed to work
|
| Other DOM-supporting browsers |
Assumed to work
|
| Opera 5-6 |
Assumed to work
|
| Netscape 4 |
Assumed to work
|