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:
n 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.
n 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 command 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 its target, select the Only If Snapped option. This option requires
that a value be entered in the Snap If Within text box in the Basic tab.
13. Click OK when you??™re finished.
If you??”or others on your team??”have the requisite JavaScript programming skills, you can
gather information output from the Drag AP Element behavior to enhance your pages.
Pages:
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807