There's nothing built-in. For now you'd have to handle yourself in the drag
callback, where you can set ui.position to restrict where an element can and
cannot be dragged. As far as having this as a built-in feature, you can
enter a feature request ticket here:

http://dev.jqueryui.com/newticket (note: requires registration)

Perhaps include a description of your use case. Thanks.

- Richard

On Mon, Mar 16, 2009 at 7:39 AM, jlammertink <[email protected]> wrote:

>
> anyone?
>
> On Mar 13, 4:34 pm, jlammertink <[email protected]> wrote:
> > is there a method for making draggables collisionable?
> >
> > so for example i have 4 windows.
> > all these windows are draggable.
> > these windows can only snap to each other but not cross.
> > so some kind of collision system which detects if a position in the
> > "grid/space" is still available.
> >
> > thnx for the help
> >
>

--~--~---------~--~----~------------~-------~--~----~
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