code: function(){
                  // check for related events
                  if ( $.data( this, drag.datakey ) )
                      return;
                  // initialize the drag data with copied defaults
                  var data = $.extend({ related:0 }, drag.defaults );
                  // store the interaction data
                  $.data( this, drag.datakey, data );
                  // bind the mousedown event, which starts drag interactions
                  $event.add( this, "touchstart mousedown", drag.init, data );
                  // prevent image dragging in IE...
                  if ( this.attachEvent )
                      this.attachEvent("ondragstart", drag.dontstart );
              }
docs: configure interaction, capture settings