Draggable and "reverse" containment
Hi,
I'm using the jQuery UI Draggable behavior and am looking for
"reverse" containment options. I want to be able to drag an image
inside a parent which has "overflow: hidden". The image is the same
size as or bigger than the parent, i.e. it always fills it completely.
When dragging, I want the image to continue to fill the parent. I.e.
the left image offset should always be <= the left parent offset, the
right image offset always >= parent right offset etc.
Is there a way to do this with the current Draggable?
Chrs,
Dav
PS: +1 for this: http://dev.jqueryui.com/ticket/4145