Making slices interactive 267
Attaching behaviors
Using the Behaviors panel, you can attach a behavior to a slice. You can also attach more than
one behavior.
To attach a behavior to a selected slice using the Behaviors panel:
1.
Click the Add Behavior button (the Plus button) in the Behaviors panel.
2.
Select a behavior from the Add Behavior button. For an explanation of each behavior, see
“Using the Behaviors panel to add interactivity to slices” on page 266
.
Editing behaviors
The Behaviors panel also gives you the ability to edit existing behaviors. You can specify the
type of mouse event (such as onClick) that triggers the behavior.
To change the mouse event that activates the behavior:
1.
Select the trigger slice or hotspot containing the behavior you want to modify.
All behaviors associated with that slice or hotspot are displayed in the Behaviors panel.
2.
Select the behavior you want to edit.
3.
Click the arrow beside the event and select a new event from the pop-up menu:
onMouseOver
triggers the behavior when the pointer rolls over the trigger area.
onMouseOut
triggers the behavior when the pointer leaves the trigger area.
onClick
triggers the behavior when the trigger object is clicked.
onLoad
triggers the behavior when the web page is loaded.
NO
TE
You cannot change the event for Simple Rollover and Set Nav Bar Image.
Add Behavior button
Remove Behavior button
Содержание FIREWORKS 8
Страница 1: ...Using Fireworks...
Страница 78: ...78 Chapter 3 Selecting and Transforming Objects...
Страница 142: ...142 Chapter 5 Working with Vector Objects...
Страница 166: ...166 Chapter 6 Using Text...
Страница 192: ...192 Chapter 7 Applying Color Strokes and Fills...
Страница 234: ...234 Chapter 9 Layers Masking and Blending...
Страница 250: ...250 Chapter 10 Using Styles Symbols and URLs...
Страница 324: ...324 Chapter 13 Creating Animation...
Страница 372: ...372 Chapter 14 Optimizing and Exporting...
Страница 444: ...444 Chapter 16 Automating Repetitive Tasks...
Страница 454: ...454 Chapter 17 Preferences and Keyboard Shortcuts...
Страница 472: ...472 Index...