public/javascripts/yui/dragdrop/dragdrop-debug.js
function(e, oDD) {
            //this._activateShim();

            this.currentTarget = YAHOO.util.Event.getTarget(e);

            this.dragCurrent = oDD;

            var el = oDD.getEl();

            // track start position
            this.startX = YAHOO.util.Event.getPageX(e);
            this.startY = YAHOO.util.Event.getPageY(e);

            this.deltaX = this.startX - el.offsetLeft;
            this.deltaY = this.startY - el.offsetTop;

            this.dragThreshMet = false;

            this.clickTimeout = setTimeout( 
                    function() { 
                        var DDM = YAHOO.util.DDM;
                        DDM.startDrag(DDM.startX, DDM.startY);
                        DDM.fromTimeout = true;
                    }, 
                    this.clickTimeThresh );
        }
function(e, oDD) {
            //this._activateShim();

            this.currentTarget = YAHOO.util.Event.getTarget(e);

            this.dragCurrent = oDD;

            var el = oDD.getEl();

            // track start position
            this.startX = YAHOO.util.Event.getPageX(e);
            this.startY = YAHOO.util.Event.getPageY(e);

            this.deltaX = this.startX - el.offsetLeft;
            this.deltaY = this.startY - el.offsetTop;

            this.dragThreshMet = false;

            this.clickTimeout = setTimeout( 
                    function() { 
                        var DDM = YAHOO.util.DDM;
                        DDM.startDrag(DDM.startX, DDM.startY);
                        DDM.fromTimeout = true;
                    }, 
                    this.clickTimeThresh );
        }
function ( e , oDD ) { //this._activateShim(); this . currentTarget = YAHOO . util . Event . getTarget ( e ) ; this . dragCurrent = oDD ; var el = oDD . getEl ( ) ; // track start position this . startX = YAHOO . util . Event . getPageX ( e ) ; this . startY = YAHOO . util . Event . getPageY ( e ) ; this . deltaX = this . startX - el . offsetLeft ; this . deltaY = this . startY - el . offsetTop ; this . dragThreshMet = false ; this . clickTimeout = setTimeout ( function ( ) { var DDM = YAHOO . util . DDM ; DDM . startDrag ( DDM . startX , DDM . startY ) ; DDM . fromTimeout = true ; } , this . clickTimeThresh ) ; }
Fired after a registered DragDrop object gets the mousedown event.
Sets up the events required to track the object being dragged
@method handleMouseDown
@param {Event} e the event
@param oDD the DragDrop object being dragged
@private
@static
Fired after a registered DragDrop object gets the mousedown event . Sets up the events required to track the object being dragged