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
urlToMatch
in the document. If this value is not
that have
urlToMatch
selected and unselected Hotspots or slices are changed.
bUpdateAttributes
target, and alt tag text that were most recently associated with the new text value. For
example, suppose
textString
/www.mywebsite.com"
tag of "Link to My Home Page". If
text is now being changed to
target of none, and an alt tag text of
Returns
Nothing.
274
Fireworks JavaScript API
"hotspots"
, the URLs of all Hotspots or slices in the document
null
as their URL are changed to
If
bUpdateAttributes
is
"http://www.mywebsite.com"
was used, it was used with a color of blue, a target of none, and an alt
bUpdateAttributes
"http://www.mywebsite.com"
"Link to My Home Page"
,
, or
"slices"
"hotspots and slices"
. Note: The URLs of both
textString
is
, changed Hotspots inherit the color,
true
, and the last time
is
, any Hotspot or slice whose
true
will also have a color of blue, a
.
.
"http:/
Need help?
Do you have a question about the FIREWORKS 8-EXTENDING FIREWORKS and is the answer not in the manual?
Questions and answers