Monday, April 27, 2009

[jQuery] limit drag to a zone

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