
609
ADOBE GOLIVE CS2
User Guide
Browser-triggered actions
Browser-triggered actions
Browser-triggered actions take place automatically as the result of browser activity or when the action is “called”
(triggered) by another action. You can set up a browser-triggered action to take place as a page loads, when the page
is finished loading, when the browser loads a specific line of code in the body or head section of a page, or when
another action triggers the action.
To set up a head action
1
Drag the Head Action icon
from the Smart Objects set of the objects toolbox to the page or choose Insert
Object > Smart > Head Action from the context menu in the head section of the page.
2
In the Actions palette, select a trigger option from the Events list to specify how and when the action executes:
OnLoad
Triggers the action after the browser has loaded the page.
OnUnload
Triggers the action when the browser leaves the page.
OnParse
Triggers the action when the browser reads that section of the source code. This triggers the action before
any user interaction occurs.
OnCall
Triggers the action later in the browser session by using the Call Action action.
3
Choose an action from the Action menu, and set the action’s properties.
To set up a body action
1
Drag the Body Action icon
from the SmartObjects set of the objects toolbox to the document window or
choose Insert Object > Smart > Body Action from the context menu in the body section of the page.
There are no trigger options to set up. The action triggers automatically when the browser loads the page section in
which the body action resides.
2
Choose an action from the Action pop-up menu, and set the action’s properties.
User-triggered actions
User-triggered actions
User-triggered actions occur when a user interacts with some item on the page such as an image, rollover, text, or
form element.
GoLive includes the following user triggers:
Mouse Click
Triggers an action after a single mouse click on the linked item.
Note:
If you apply a Mouse Click action to a rollover object, the rollover’s navigational link (the URL field in the
Inspector) is disabled. To set the rollover’s link, add Goto Link as the last action for the Mouse Click event. See “Goto
Link” on page 615.
Mouse Enter
Triggers an action when the pointer is moved over the linked item.
Mouse Exit
Triggers an action when the pointer is moved away from the linked item.
Summary of Contents for GOLIVE CS2
Page 1: ...Chapter 1 Copyright User Guide...
Page 251: ...ADOBE GOLIVE CS2 242 User Guide...