Hi Richard

Yes, one could have triggered the namespaced mousedown event for
dragging. I have had a similar implementation as in the example
delphilynx has posted above. It was named "mousedown.draggable" and
one only needed to pass on the original event.

I will settle on the simulate plugin to provide the functionality, but
actually hoped that there would be a way to do it without the need for
a plugin.

On Jun 8, 12:53 pm, "Richard D. Worth" <[email protected]> wrote:
> On Mon, Jun 8, 2009 at 6:11 AM, Neil Craig <[email protected]> wrote:
>
> > So, am I understanding correctly, the UI library does not employ the
> > namespaced events pattern for dragging anymore.
>
> Did some previous version of draggables allow you to trigger a drag start
> programmatically? The fact that you can't programmatically trigger a drag
> may be considered a bug, but are you saying it's a regression?
>
> > The quickest
> > implementation to get this type of functionality (triggering dragging)
> > would be by using the simulate plugin?
>
> That's the quickest I know of. The draggable plugin is looking for
> mousedown, mousemove(s), and mouseup. It will trigger dragstart, drag, and
> dragstop, based on those. By using the simulate plugin, the draggable is
> receiving those triggering mouse events as if the mouse were doing them,
> meaning no programming needed to handle a custom trigger. I'm not saying a
> custom trigger couldn't ever make sense, but in the absense of one, this
> works.
>
> - Richard
>
>
>
> > On Apr 15, 4:24 pm, "Richard D. Worth" <[email protected]> wrote:
> > > See this thread:
>
> > >http://groups.google.com/group/jquery-ui/browse_thread/thread/bec7dba...
>
> > > Let us know if that doesn't help.
>
> > > - Richard
>
> > > On Wed, Apr 15, 2009 at 4:05 AM, delphilynx <[email protected]>
> > wrote:
>
> > > > Someone can help to fix this?
>
> > > > any workaround possible?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to