Loading ...
Sorry, an error occurred while loading the content.

Re: Draggable div only inside another div

Expand Messages
  • r_p_bouman
    ... Yes, use: void setXConstraint ( iLeft, iRight, iTickSize) void setYConstraint ( iUp, iDown, iTickSize)
    Message 1 of 3 , Aug 2, 2006
    • 0 Attachment
      --- In ydn-javascript@yahoogroups.com, "rodiniz2003" <rodiniz@...> wrote:
      >
      > I have two divs and one inside the other. I want to know how
      > do I make the smaller div draggable only inside the bigger div.
      > (something like the silder does)
      > Thanks in advance.
      >

      Yes, use:

      void setXConstraint (<int> iLeft, <int> iRight, <int> iTickSize)
      void setYConstraint (<int> iUp, <int> iDown, <int> iTickSize)
    Your message has been successfully submitted and would be delivered to recipients shortly.