MACROMEDIA DREAMWEAVER 8-DREAMWEAVER API Reference page 329

Dreamweaver api reference
Table of Contents

Advertisement

Arguments
sourceDoc, {tag1}, {tag2},...{tagN}
The
argument must be
sourceDoc
"parent.frames['frameName']"
document that has the focus and contains the current selection. The
specifies the parent frameset (if the currently selected document is in a frame), and
parent.frames[number]
is in a particular frame within the frameset that contains the current document. If the
argument is a relative URL, it is relative to the extension file.
The second and subsequent arguments, if supplied, are the names of tags (for example,
,
,
"IMG"
"FORM"
"HR"
Returns
An array of strings where each array is the source code for an instance of the requested tag type
in the specified document.
If one of the
tag
all absolutely positioned
If one of the
tag
particular type of form element, specify
,
radio
checkbox
When the same list of arguments passes to
of the same length.
Example
dreamweaver.getObjectTags("document", "IMG")
active document, might return an array with the following items:
"<IMG SRC="/images/dot.gif" WIDTH="10" HEIGHT="10" NAME="bullet">"
"<IMG SRC="header.gif" WIDTH="400" HEIGHT="32" NAME="header">"
"<IMG SRC="971208_nj.jpg" WIDTH="119" HEIGHT="119" NAME="headshot">"
dreamweaver.getPreferenceInt()
Availability
Dreamweaver MX.
Description
Lets you retrieve an integer preference setting for an extension.
"document"
, or a URL. The
and
parent.frames['frameName']
).
arguments is
, the function returns all
LAYER
and
DIV
SPAN
arguments is
, the function returns all form elements. To get a
INPUT
,
,
password
textarea
,
,
"parent"
document
tags.
where
INPUT/TYPE,
,
,
,
select
hidden
reset
, the two functions return arrays
getObjectRefs()
, depending on the contents of the
"parent.frames[number]"
value specifies the
value
parent
specify a document that
and
LAYER
ILAYER
is
,
TYPE
button
text
, or
.
submit
Global document functions
,
tags and
,
329

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DREAMWEAVER 8-DREAMWEAVER API and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Dreamweaver 8

Table of Contents