
492
Part III
Adding Advanced Design Features
FIGURE 12-18
Dynamically update text/text area form elements with the Set Text of Text Field behavior.
Show-Hide Elements
One of the key features of Dynamic HTML AP elements is their capability to appear and disappear
on command. The Show-Hide Elements action gives you easy control over the visibility attribute
for all elements with an ID in the current Web page. In addition to explicitly showing or hiding ele-
ments, this action can also restore elements to the default visibility setting.
The Show-Hide Elements action is often used to reveal or conceal a single element; however, you are
not restricted to hiding or showing just one element at a time. The action’s parameter dialog box (see
Figure 12-19) shows you a list of all the elements with an ID in the current Web page from which
you can choose as many as you want to show or hide.
FIGURE 12-19
The Show-Hide Elements action can make any number of hidden elements visible,
hide any number of visible elements, or both.
To use the Show-Hide Elements action, follow these steps:
1. Select the object to trigger the action.
2. From the Behaviors panel, click the Add (+) button and select Show-Hide Elements. The
Show-Hide Elements parameter dialog box displays a list of the available elements in the
current Web page.
82523c12.indd 492 2/18/09 1:29:04 PM