MACROMEDIA DREAMWEAVER MX 2004-USING DREAMWEAVER Use Manual page 391

Hide thumbs Also See for DREAMWEAVER MX 2004-USING DREAMWEAVER:
Table of Contents

Advertisement

To use the Set Text of Text Field action:
Select a text field and open the Behaviors panel.
1
Click the Plus (+) button and select Set Text > Set Text of Text Field from the Actions
2
pop-up menu.
In the Set Text of Text Field dialog box, select the target text field from the Text Field
3
pop-up menu.
Enter text in the New Text text box, then click OK.
4
Check that the default event is the one you want. If it isn't, select another event from the
5
pop-up menu.
If you don't see the events you want, change the target browser in the Show Events For
pop-up menu.
Show-Hide Layers
The Show-Hide Layers action shows, hides, or restores the default visibility of one or more layers.
This action is useful for showing information as the user interacts with the page. For example, as
the user rolls the mouse pointer over an image of a plant, you could show a layer that gives details
about the plant's growing season and region, how much sun it needs, how large it can grow, and
so on.
Show-Hide Layers is also useful for creating a preload layer—that is, a large layer that obscures
the contents of the page at first and then disappears when all the page components have
finished loading.
To use the Show-Hide Layers action:
Select Insert > Layer or click the Layer button in the Insert bar, and draw a layer in the
1
Document window.
Repeat this step to create additional layers.
Click in the Document window to deselect the layer, then open the Behavior panel.
2
Click the Plus (+) button and select Show-Hide Layers from the Actions pop-up menu.
3
If Show-Hide Layers is unavailable, you probably have a layer selected. Because layers do not
accept events in both 4.0 browsers, you must select a different object—such as the
a link (
tag)—or change the target browser to Internet Explorer 4.0 in the Show Events For
a
pop-up menu.
From the Named Layers list, select the layer whose visibility you want to change.
4
Click Show to show the layer, Hide to hide the layer, or Default to restore the layer's
5
default visibility.
Repeat steps 4 and 5 for all remaining layers whose visibility you want to change at this time.
6
(You can change the visibility of multiple layers with a single behavior.)
Click OK.
7
Check that the default event is the one you want.
8
If it isn't, select another event from the pop-up menu. If the events you want are not listed,
change the target browser in the Show Events For pop-up menu.
When viewed in a Netscape Navigator browser window, layers may shrink to fit the content. To
keep this from happening, add text or images to layers, or set layer clip values.
Using the behavior actions that come with Dreamweaver
tag or
body
391

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DREAMWEAVER MX 2004-USING DREAMWEAVER and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Dreamweaver mx 2004

Table of Contents