Monday, April 27, 2009

[jQuery] Re: limit drag to a zone

Hi,

First, you should post this in the jquery-ui google group.
Second, your request is being handled in the draggable demo page.

http://jqueryui.com/demos/draggable/#constrain-movement

On Mon, Apr 27, 2009 at 6:27 PM, gostbuster <jeremyescolano@gmail.com> wrote:

Hi everybody,

I was wondering if there was a way to limit a drag from a zone :

for example I have a div zone with elements inside :

<div> <my dragable element/> </div>

and I don't want to be able to drag the element out from the div.

I read the doc but didn't see anything....

Thank you very much

No comments:

Post a Comment