Index: openacs-4/packages/ajaxhelper/www/resources/yui/dragdrop/README =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ajaxhelper/www/resources/yui/dragdrop/README,v diff -u -r1.1 -r1.2 --- openacs-4/packages/ajaxhelper/www/resources/yui/dragdrop/README 21 Oct 2006 06:14:57 -0000 1.1 +++ openacs-4/packages/ajaxhelper/www/resources/yui/dragdrop/README 25 Dec 2006 16:40:02 -0000 1.2 @@ -1,5 +1,42 @@ Drag and Drop Release Notes +0.12.1 + + * Added a STRICT_INTERSECT drag and drop interaction mode. This alters the + behavior of DDM::getBestMatch. INTERSECT mode first tests the cursor + location, and if it is over the target that target wins, otherwise it + tests the overlap of the elements. STRICT_INTERSECT mode tests only + the overlap, the largest overlap wins. + + * getBestMatch will work for targeted elements that have no overlap. + +0.12.0 + + * The logic to determine if a drag should be initiated has been isolated + to the clickValidator method. This method can be overridden to provide + custom valdiation logic. For example, it is possible to specify hotspots + of any dimension or shape. The provided example shows how to make only + a circular region in the middle of the element initiate a drag. + + * Added a new drag and drop event: onInvalidDrop. This is executed when + the dragged element in dropped in a location without a target. Previously + this condition could only detected by implementing handlers for three + other events. + + * Now accepts an element reference in lieu of an id. Ids will + be generated if the element does not have one. + + * Fixed horizontal autoscroll when scrollTop is zero. + + * Added hasOuterHandles property to bypass the isOverTarget check in the + mousedown validation routine. Fixes setOuterHandleElId. + +0.11.4 + + * YAHOO.util.DragDropMgr.swapNode now handles adjacent nodes properly + + * Fixed missing variable declarations + 0.11.3 * Fixed a JavaScript error that would be generated when trying to implement @@ -53,7 +90,7 @@ 0.10.0 - * Improved the performance in intersect mode + * Improved the performance when in intersect mode * It was possible for the drag and drop initialization to be skipped for very slow loading pages. This was fixed.