PDA

View Full Version : draggable items



onesixtyeight
October 15th, 2001, 08:18 PM
is it possible (i think it is) to set limits to draggable items, like for example you can only drag a certain item farther than 1 half of the page?

Vts31
October 16th, 2001, 12:40 PM
yep there is. After you have the startdrag() script you should see two check able boxes. one says lock mouse to center and the other says bouding box. click that and type in the restrictions you want to put on your draggable object.

onesixtyeight
October 16th, 2001, 08:05 PM
how do you determine the values for the limits?

eyezberg
October 17th, 2001, 05:27 AM
just test it :)