Adobe 38040334 - Dreamweaver CS3 User Manual page 255

Api reference
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

dreamweaver.getObjectTags() (deprecated)
Availability
Dreamweaver1; deprecated in 3.
Description
This function scans the specified document for instances of the specified tags or, if no tags are specified, for all tags
in the document. This function is equivalent to calling
each element in the
nodelist
Arguments
sourceDoc, {tag1}, {tag2},...{tagN}
• The
argument must be
sourceDoc
"parent.frames['frameName']"
and contains the current selection. The
document is in a frame), and
document that 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,
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
arguments is
tag
and
tags.
DIV
SPAN
• If one of the
arguments is
tag
element, specify
INPUT/TYPE,
,
, or
hidden
reset
submit
When the same list of arguments passes to
Example
dreamweaver.getObjectTags("document", "IMG")
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.
getElementsByTagName()
.
,
"document"
"parent"
, or a URL. The
document
value specifies the parent frameset (if the currently selected
parent
parent.frames[number]
, the function returns all
LAYER
, the function returns all form elements. To get a particular type of form
INPUT
where
is
TYPE
button
.
getObjectRefs()
,
"parent.frames[number]"
value specifies the document that has the focus
and
parent.frames['frameName']
and
tags and all absolutely positioned
LAYER
ILAYER
,
,
,
,
text
radio
checkbox
password
, the two functions return arrays of the same length.
, depending on the contents of the active document, might
DREAMWEAVER CS3
API Reference
and then getting
outerHTML
,
specify a
,
,
"IMG"
"FORM"
"HR"
,
,
textarea
select
250
for
).
,

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents