Slave images and layers
The slave actions are actions you can make happen on your Web page, such as displaying an image, displaying a layer, or opening a pop-up window.
Slave actions are triggered by another action, such as a graphic or text rollover.
To show one of several slave images
The Slave Image action allows you to display one of several images depending on the trigger number.
For example, you could provide two rollover graphics each of which displays a different image:

- Select the graphic item.
- Open the Item menu, choose Actions, then choose Rollover from the submenu.
- In the Actions palette click the Parameters button to display the Parameters panel.
- Choose an item from the Slave Group menu, and set the MouseOver # to 1:

- Select the graphic item containing the image you want to display.
- Open the Item menu and choose Slave Image from the Actions submenu.
- In the Actions palette set the Slave Group to the same value as for the button, and set Image 1 to Items:

You can use this technique to define several buttons that display different images when the user points to them with the mouse pointer:

To show or hide a slave image
The Slave Show/Hide Image action allows you to display or hide a single image in response to a trigger.
- Select the graphic item containing the image.
- Open the Item menu, choose Actions, then choose Slave Show/Hide Image from the submenu.
- In the Actions palette, set Initially to Hidden if you want the image to be revealed by the trigger, or Visible if you want it to be hidden.
- Set the Slave Group to the same slave group as the trigger, and the Slave # to the number specified in the trigger action:

Contents