User Guide
200 Chapter 5: Fireworks JavaScript API
dom.setButtonShowDownOnLoad()
Availability
Fireworks 3.
Usage
dom.setButtonShowDownOnLoad(bShowDownOnLoad)
Arguments
bShowDownOnLoad
If bShowDownOnLoad is true, the Down-State-on-Load is shown in the
button. If
bShowDownOnLoad is false, it is not.
Returns
Nothing.
Description
If the user edits a Button document, this function specifies whether to show the Down-State-on-
Load in a button.
dom.setButtonOptions()
Availability
Fireworks 3.
Usage
dom.setButtonOptions(exportOptions, URLString, altTagString, targetTagString,
sliceName, statusMessage)
Arguments
exportOptions
An ExportOptions object (see “ExportOptions object” on page 46).
URLString A string that specifies the URL for the button(s).
altTagString and targetTagString Specify the text for the button alt tag and target tag.
sliceName A string that specifies the name to be assigned to the slice that is associated with the
button. If it is
null, the slice is set to be named automatically.
statusMessage A string that specifies a status message to appear in the browser status line. If
an empty string or
null is passed, no status message appears.
Returns
Nothing.
Description
Sets the Button Export options. If the user edits a button, it sets options for the button being
edited; if the user edits a normal document, it sets options for all the selected buttons.