I'm hoping someone who knows about the Draggables script might be able to help me...
I've got a draggable DIV, contained within a parent element. I want to set it up so that on the mousedown event of the parent DIV, the draggable DIV snaps to be centered right under the cursor, and you can start dragging straight away (without pressing the mousedown again to start the drag). In other words, I want to be able to initiate a drag on a draggable DIV, but using the mousedown event of the container rather than the draggable DIV itself. I've tried looking through the Draggables plugin to look for some kind of "start drag" function, which I could manually attach to the mousedown event of the container, but I don't really understand it. If you know how it works, please tell me! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
