To allow only horizontal movement, enter positive values for Left and Right and 0 for Up and Down. The drop target is the spot to which you want the user to drag the layer. A layer is considered to have reached the drop target when its left and top coordinates match the values you enter in the Left and Top fields. Values are relative to the top left corner of the browser window. Click Get Current Position to automatically populate the fields with the current position of the layer.
Larger values make it easier for the user to find the drop target.
9 For simple puzzles and scenery manipulation, you can stop here. To define the drag handle for the layer, track the movement of the layer while it is being dragged, and trigger an action when the layer is dropped, click More Options. 10 To specify that a particular area of the layer must be clicked to drag the layer, choose Area Within Layer from the Drag Handle pop-up menu and enter the Left and Top coordinates and the Width and Height of the drag handle. This option is useful when the image inside the layer has an element that suggests dragging, such as a title bar or drawer handle. Do not set this option if you want the user to be able to click anywhere in the layer to drag it.