
482
Part III
Adding Advanced Design Features
8. For additional options, select the Advanced tab of the parameter dialog box.
9. If you want the whole AP element to act as a drag handle, select Entire AP Element from
the Drag Handle drop-down list. If, instead, you want to limit the area to be used as a
drag handle, select Area Within AP Element from the Drag Handle drop-down list. L(eft),
T(op), W(idth), and H(eight) text boxes appear. In the appropriate boxes, enter the left
and top coordinates of the drag handle in pixels, as well as the dimensions for the width
and height.
10. To control the positioning of the dragged AP element, set the following While Dragging
options:
To keep the AP element in its current depth (that is, to avoid bringing it to the front
■■
when it is dragged), deselect the checkbox for While Dragging: Bring AP Element To
The Front.
To change the stacking order of the AP element when it is released, select the checkbox
■■
and pick either Leave On Top or Restore Z-index from the drop-down list.
11. To execute a JavaScript command while the AP element is being dragged, enter the com-
mand or function in the Call JavaScript text box.
12. To execute a JavaScript command when the AP element is dropped on the target, enter the
code in the When Dropped: Call JavaScript text box. If you want the JavaScript to execute
only when the AP element is snapped to it ...