There is a built in option, called cursorAt: http://docs.jquery.com/UI/Draggable#option-cursorAt <http://docs.jquery.com/UI/Draggable#option-cursorAt>- Richard
On Mon, Sep 21, 2009 at 11:11 AM, David Roe <[email protected]> wrote: > > I'm using the draggable plugin and passing a function for the helper > option. Although the user can start the drag from anywhere in the > draggable element, the helper element always appears in the top left > corner. > > Is there a way to set the helper position to the mouse position when > dragging starts? Or is there some way to manually set the helper's > position? I've tried setting the top/left styles of ui.helper in the > start event but it doesn't work. > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~----------~----~----~----~------~----~------~--~---
