Show-Hide Elements
The capability to implement interactive control of an AP element??™s visibility offers tremendous potential to
the Web designer. The Show-Hide Elements action makes this implementation straightforward and simple
to set up. With the Show-Hide Elements action, you can simultaneously show one or more AP elements
while hiding as many other AP elements as necessary. Create your AP elements and give them a unique
name before invoking the Show-Hide Elements action. To use Show-Hide Elements, follow these steps:
1. Select an image, link, or other HTML tag to which to attach the behavior.
2. Choose Window ??? Behaviors or press Shift+F4 to open the Behaviors panel.
3. Choose Show-Hide Elements from the Add (+) drop-down list. The Show-Hide Elements dialog
(see Figure 11-25) shows a list of the available AP elements in the open Web page.
FIGURE 11-25
With the Show-Hide Elements behavior attached, you can easily program the visibility of
all the AP elements in your Web page.
4. To cause a hidden AP element to be revealed when this event is fired, select the AP element from
the list and click the Show button.
5. To hide a visible AP element when this event is fired, select its name from the list and click the
Hide button.
6. To restore an AP element??™s default visibility value when this event is fired, select the AP element
and click the Default button.
Pages:
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781