defines the position of a dragged item
list.$dragPos = function(pos, e, node){
pos.y = 10; // fix the y position, so only a horizontal drag will be possible
};
Can be redefined for a custom dnd behavior.
There are 3 parameters:
You can modify pos.x and pos.y. The updated values will be applied to the drag marker.