ppDrag 0.2

ppDrag is a Drag&Drop plugin for jQuery, which mimics the interface of jQuery UI's Draggable.
ppDrag software is a Drag&Drop plugin for jQuery, which mimics the interface of jQuery UI's Draggable. Currently supported is a small subset of its options, but the implementation is different (ppDrag focuses on performance).

All major existing browsers are supported. This includes IE6/7, Firefox1/2/3, Opera, Konqueror, Safari, etc.

Usage:

1. Include jQuery:
< script src="jquery.js" type="text/javascript" >< /script >
2. Include ppDrag:
< script src="jquery.ppdrag.js" type="text/javascript" >< /script >
3. Activate ppDrag. Example:
$(document).ready(function() {
$("#element1").ppdrag();
});

Note: at the moment ppDrag doesn't support elements with static positioning. Please use either relative, absolute, or fixed positioning.

4. (optional) Specify options. Example:
$(document).ready(function() {
$("#element2").ppdrag({ zIndex: 1000 });
});
5. (optional) When no longer needed, you can deactivate ppDrag. Example:
$("#element2").ppdrag("destroy");

Supported options:

■ zIndex: [integer] z-index for the element while being dragged.
■ stop: [function(element)] Function that gets called when dragging stops.

What's New in This Release:

■ Cancelling IE's default event action now works correctly.
■ Callbacks (only "stop" for now) receive the element both as "this" and as an argument, just like jQuery UI Draggable.
■ The jQuery UI version used in this demo was updated to 1.5.2.
■ It has received many optimizations and is now signifficantly faster than before (though still not as fast as ppDrag).

last updated on:
August 26th, 2008, 19:40 GMT
price:
FREE!
developed by:
Pesho
license type:
LGPL (GNU Lesser General Public License) 
category:
ROOT \ Internet \ HTTP (WWW)

FREE!

In a hurry? Add it to your Download Basket!

user rating 14

UNRATED
3.1/5
 

0/5

Add your review!

SUBMIT