Image Actions - Adobe GOLIVE CS2 User Manual

Hide thumbs Also See for GOLIVE CS2:
Table of Contents

Advertisement

Image actions

About Image actions
The Image menu in the Actions palette contains actions that enable you to preload images, set an image to automat-
ically change based on certain criteria, and create remote rollovers.
DailyImageURL
DailyImageURL lets you display a different image for each day of the week, according to the date in the viewer's
computer. For example, you can create a banner that changes daily when the page is loaded, or you can create an
image viewers can click to replace with the picture of the day.
In the page, select the image you want to replace based on the day of the week. In the More tab of the Image Inspector,
enter a unique alphanumeric name in the Name text box.
Normally, all images will display with the dimensions of the placeholder image. To enable the images to display with
different dimensions, change the placeholder image's Width and Height values from Pixel to Image in the Image
Inspector.
Trigger the action with a browser-triggered event set to OnLoad, or a user-triggered event. Choose Action > Image >
DailyImageURL. Choose the placeholder image's name from the Image menu. (This is the image that is replaced with
another image for that day.) For each day, reference the image you want to replace the base image.
Preload Image
The Preload Image action forces the browser to cache specified images before the page displays. This is useful if there
are images that don't display until after a user interacts with the page, such as a rollover image, or until a certain point
in time. Although the page may take longer to load initially, preloaded images are immediately available when
loading is complete. Preloading images enables rollover images to display faster when the viewer interacts with them,
and DHTML animations and actions can immediately swap images.
Note: The rollover images referenced in a GoLive Rollover object are automatically preloaded. An additional Preload
Image action is not required for it. An Image object with rollover states has a Preload option that can be selected in the
Image Inspector.
Trigger the action with a browser-triggered event set to OnLoad. In the Actions palette, choose Action >
Image >Preload Image. Reference an image file you want to preload.
If you need to preload multiple images rather than adding a new Head Action icon for each image, set up one Head
Action icon with the Action Group action and add each Preload Image action to it. (See "Action Group" on page 633.)
RandomImage
The RandomImage action randomly swaps the contents of an image placeholder with one of three images each time
the page is loaded.
In the page, select the image you want to replace, and in the More tab of the Image Inspector, enter a unique alpha-
numeric name in the Name text box.
Normally, all images will display with the dimensions of the placeholder image. To enable the images to display with
different dimensions, change the placeholder image's Width and Height values from Pixel to Image in the Image
Inspector.
ADOBE GOLIVE CS2
613
User Guide

Advertisement

Table of Contents
loading

Table of Contents