User Guide
134 Fireworks JavaScript API
Arguments
type, barName, target, swapFrame, fileName, preload
■ Pass "down" for type.
■ Pass "navbar1" for the name of the navigation bar.
■ target specifies the slice to which the behavior is attached. Pass –1 for this value; all other
values are used internally by Fireworks.
■ swapFrame is an integer value that specifies the frame to swap, starting with 0 (although,
to use
fileName as a URL, pass –1 here).
■ fileName specifies the frame or file to swap. If you specified a frame to use in swapFrame,
pass an empty text string. If you want to specify a filename and you passed
–1 for
swapFrame, pass the string for the relative URL of the image.
■ preload is a binary value that specifies whether to preload the swapped image (pass 1) or
not (pass
0).
Description
Sets a navigation bar Down behavior.
Example
fw.getDocumentDOM().addBehavior("MM_nbGroup(\'down\',\'navbar1\',-
1,2,\"\",1)", "onClick", -1);
MM_nbGroup [highlight]
Availability
Fireworks 3.
Arguments
type, target, swapFrame, fileName, preload, downHighlight,
downHighlightFrame, downHighlightFilename
■ Pass "over" for type.
■ target specifies the slice to which the behavior is attached. Pass –1 for this value; all other
values are used internally by Fireworks.
■ swapFrame is an integer value that specifies the frame to swap, starting with 0 (although,
to use
fileName as a URL, pass –1 here).
■ fileName specifies the frame or file to be swapped. If you specified a frame to use in
swapFrame, pass an empty text string. If you want to specify a filename and you passed –1
for swapFrame, pass the string for the relative URL of the image.