Hi all
I'd like to ask a question about Drag.Move 'container' option.

**
container - (element) If an Element is passed, drag will be limited to
the passed Element's size and position.
**

It says it bounds the dNd to the specified container area, but this
only works if the container has no margin/border/padding. Moreover,
the dragged element must be in the top left corner or it will have an
"offset" that it will put it outside the intended area (for example,
try with multiple dragged boxes that are put in the container with
"float:left;" style

This can be seen here ( http://demos111.mootools.net/Drag.Absolutely
). I know this is an old 1.11 example, but it does the same thing in
1.2 . If you open the page with Firefox, and have the Web Developer
extension installed, you can easily see what I'm talking about by
editing the CSS on the fly and adding a 20px border to #containment
div.

Can you help me with this one?

Best Regards

Paolo

Reply via email to