Adobe 65011817 - Fireworks CS4 - Mac Extended User Manual page 163

Extending guide
Hide thumbs Also See for 65011817 - Fireworks CS4 - Mac:
Table of Contents

Advertisement

Last updated 12/8/2009
Returns
Nothing.
Description
Sets the target tag text to the specified value for the hotspots and slices in the selection.
Example
The following command links the currently selected slices to the parent window:
fw.getDocumentDOM().setHotspotTarget("slices", "_parent");
dom.setHotspotText()
Availability
Fireworks 3.
Usage
dom.setHotspotText(whatToSet, textString, urlToMatch, bUpdateAttributes)
Description
Sets the hotspot text to the specified value for the hotspots and slices in the selection.
Arguments
Acceptable values are
whatToSet
A string that specifies the text to be used for the hotspot or slice.
textString
A string that specifies a URL that is already assigned to one or more hotspots in the document. If this
urlToMatch
value is not
, the URLs of all hotspots or slices in the document that have
null
to
.
textString
Note: The URLs of both selected and unselected hotspots or slices are changed.
Boolean. If
bUpdateAttributes
recently associated with the new text value. For example, suppose
and the last time
"http://www.mywebsite.com"
alt tag of "Link to My Home Page". If
changed to
"http://www.mywebsite.com"
.
to My Home Page"
Returns
Nothing.
Description
Sets the hotspot text to the specified value for the hotspots and slices in the selection.
Example
The following command creates a slice and inserts the HTML text,
fw.getDocumentDOM().setHotspotText("Slice ","I am HTML text", null, true);
,
, or
"hotspots"
"slices"
, changed hotspots inherit the color, target, and alt tag text that were most
true
was used, it was used with a color of blue, a target of none, and an
bUpdateAttributes
will also have a color of blue, a target of none, and an alt tag text of
"hotspots and slices"
urlToMatch
is
textString
"http://www.mywebsite.com"
is
, any hotspot or slice whose text is now being
true
"I am HTML text"
EXTENDING FIREWORKS
The Document object
.
as their URL are changed
"Link
:
159
,

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fireworks cs4

Table of Contents