![MACROMEDIA DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER Manual Download Page 106](http://html1.mh-extra.com/html/macromedia/dreamweaver-mx-2004-extending-dreamweaver/dreamweaver-mx-2004-extending-dreamweaver_manual_3335562106.webp)
106
Chapter 5: Fireworks JavaScript API
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.
•
preload
is a binary value that specifies whether to preload the swapped image (pass 1) or not
(pass
0
).
•
downHighlight
is a binary value that specifies whether an image should be used for
highlighting on mouse down (pass
1
) or not (pass
0
). If you pass
1
, use the next two arguments
to specify the frame or image to be used.
•
downHighlightFrame
is an integer value that specifiesthe frame to use as a highlight image,
starting with
0
(although, to use
downHighlightFrame
as a URL, pass
–1
here).
•
downHighlightFilename
specifies the frame or file to be used as the highlight image. If you
specified a frame to use in
downHighlightFrame
, pass an empty text string. If you want to
specify a filename and you passed
–1
for
downHighlightFrame
, pass the string for the relative
URL of the image.
Description
Sets a navigation bar highlight behavior.
Example
fw.getDocumentDOM().addBehavior("MM_nbGroup(\'over\',-1,1,\"\",1,0,3,\"\")",
"onMouseOver", -1);
MM_nbGroup [image]
Availability
Fireworks 3.
Arguments
type
,
downHighlight
,
initiallyDown
•
Pass
"all"
for
type
.
•
downHighlight
is a binary value that specifies whether the image should be highlighted on a
mouse down action (pass
1
) or not (pass
0
).
•
initiallyDown
is a binary value that specifies whether the image should initially appear as in
the “down” state (pass
1
) or not (pass
0
).
Summary of Contents for DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER
Page 1: ...Extending Fireworks...
Page 4: ...4 Contents...
Page 8: ...8 Chapter 1 Extending Fireworks Overview...
Page 102: ...102 Chapter 4 Auto Shapes...