SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 766 | Next

Joseph W. Lowery

"Dreamweaver CS3 Bible"


9. Click the Advanced tab.
10. Designate the drag handle:
n To enable the entire AP element to act as a drag handle, select Entire Element from the dropdown
menu.
n If you want to limit the area to be used as a drag handle, select Area Within Element from the
drop-down menu. Enter the Left and Top coordinates as well as the Width and Height dimensions
in the appropriate text boxes.
11. If you want to keep the AP element in its current depth and not bring it to the front, deselect the
checkbox for While Dragging: Bring Element To The Front. To change the stacking order of the
AP element when it is released after dragging, select either Leave On Top or Restore Z-index from
the drop-down list.
12. To execute a JavaScript command when the AP element is dropped on the target, enter the code
in the Call JavaScript text box. If you want the script to execute every time the AP element is
dropped, enter the code in the When Dropped: Call JavaScript text box. If the code should execute
only when the AP element is dropped on the target, make sure there??™s a check in the Only If
Snapped checkbox.
13. To change the event that triggers the action (the default is onLoad), select an event from the
drop-down list in the Events column.
Set Text of Container
You??™ve seen how AP elements can dynamically move, and change their visibility and their depth??”but did
you know that you can also change an AP element??™s content dynamically? With Dreamweaver, you can do it
easily.


Pages:
754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778