So x1 and y1 are the top left corner of a rectangle, and x2 y2 are the bottom right corner?
On Nov 2, 10:20 pm, "Insite FX" <[email protected]> wrote: > Hi Mike, > > x1 would be the horizontal position and y1 would be the vertical position > these would be in screen width. > Same for the x2 and y2, x1 y1 would be mostly start position and x2 y2 > mostly the end position > > Enjoy > InsiteFX > > ----- Original Message ----- > From: "Mike C" <[email protected]> > To: "jQuery UI" <[email protected]> > Sent: Monday, November 02, 2009 4:19 PM > Subject: [jquery-ui] draggable containment options > > > The documentation was not very clear about the options for containing > > draggable elements. I'm trying to restrict the draggable element to a > > specified area using an array, but the documentation just states > > [x1,y1,x2,y2]. I have no idea what this means and after hours of > > testing and trying to figure out what they mean, I still have no idea. > > Can anyone help me with this? > > > -- > > > 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. > > -- 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.
