Skip to Main Content
Adobe® Dreamweaver® CS4 Bible
book

Adobe® Dreamweaver® CS4 Bible

by Joseph Lowery
March 2009
Beginner to intermediate content levelBeginner to intermediate
1321 pages
46h 24m
English
Wiley
Content preview from Adobe® Dreamweaver® CS4 Bible
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
493
Using Behaviors
12
3. To show a h
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Adobe® Dreamweaver® CS5 Bible

Adobe® Dreamweaver® CS5 Bible

Joseph W. Lowery
Dreamweaver® CS3 Bible

Dreamweaver® CS3 Bible

Joseph W. Lowery

Publisher Resources

ISBN: 9780470382523Purchase book