The
bJumpToNode
to scroll the Document window, if necessary, to make the selection visible. If it is omitted,
this argument defaults to
Returns
Nothing.
dom.setSelection()
Availability
Dreamweaver 3.
Description
Sets the selection in the document.
Arguments
offsetBegin, offsetEnd
These arguments are the opening and closing points, respectively, for the new selection,
which is expressed as character offsets into the document's source code. If the two
numbers are the same, the new selection is an insertion point. If the new selection is not a
valid HTML selection, it is expanded to include the characters in the first valid HTML
selection. For example, if
SRC="myImage.gif"
include the entire
Returns
Nothing.
dreamweaver.getSelection() (deprecated)
Availability
Dreamweaver 2; deprecated in 3. See
Description
Gets the selection in the current document, which is expressed as byte offsets into the
document's source code.
Arguments
None.
340
Document
argument, which is optional, is a Boolean value that indicates whether
.
false
offsetBegin
within
<IMG SRC="myImage.gif">
tag.
IMG
"dom.getSelection()" on page
and
define the range
offsetEnd
, the selection expands to
337.
Need help?
Do you have a question about the DREAMWEAVER 8-DREAMWEAVER API and is the answer not in the manual?