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 805 | Next

Joseph W. Lowery

"Dreamweaver CS3 Bible"

Here??™s a workaround. Before invoking the
behavior, switch to Code view and then copy all the elements inside the desired element. Now, you??™ll be able
to paste your clipboard into the New HTML text area using the keyboard shortcut, Ctrl+V (Cmd+V). Be careful
not to select the surrounding element tag, such as the
??”if you do, you are pasting one surrounding
element in another.
To set the text of an AP element dynamically, follow these steps:
1. Make sure that the AP element you want to change has been created and named properly.
2. Select the object to trigger the action.
3. From the Behaviors panel, click the Add (+) button and choose Set Text ??? Set Text of Container
from the option list. The Set Text of Container dialog box opens, as shown in Figure 12-14.
FIGURE 12-14
Use the Set Text of Container behavior to replace all of the HTML in any element with an ID.
4. Select the element to modify from the Container drop-down list.
5. Enter the replacement code in the New HTML text area.
6. Click OK when you??™re finished.
Set Text of Frame
The Set Text of Frame action replaces all the contents of the tag of a frame. Dreamweaver supplies
a handy Get Current HTML button that enables you to easily keep everything you want to retain and
change only a heading or other element.


Pages:
793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817