Dreamweaver returns correct references for Netscape Navigator for
,
,
EMBED
LAYER
ILAYER
absolutely positioned
positioned, Dreamweaver returns
Dreamweaver does not return references for unnamed objects. If an object does not
contain either a
NAME
browser does not support a reference by name, Dreamweaver references the object by
index (for example,
Dreamweaver returns references for named objects that are contained in unnamed forms
and layers (for example,
dreamweaver.getObjectRefs() (deprecated)
Availability
Dreamweaver 1; 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 and formulates browser-specific references to those tags.
This function is equivalent to calling
dreamweaver.getElementRef()
Arguments
NSorIE, sourceDoc, {tag1}, {tag2},...{tagN}
The
argument must be either
NSorIE
nested references differ in Netscape Navigator 4.0 and Internet Explorer 4.0. This
argument specifies for which browser to return a valid reference.
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 third and subsequent arguments, if supplied, are the names of tags (for example,
,
, or
"IMG"
"FORM"
,
,
,
SELECT
OPTION
and
tags. For
DIV
SPAN
"cannot reference <tag>"
or an
attribute, Dreamweaver returns
ID
document.myform.applets[3]
document.forms[2].myCheckbox
getElementsByTagName()
for each tag in the
"NS 4.0"
"document"
, or a URL. The
and
parent.frames['frameName']
).
"HR"
,
, and
TEXTAREA
OBJECT
and
tags that are not absolutely
DIV
SPAN
).
).
and then calling
.
nodelist
or
. The DOM and rules for
"IE 4.0"
,
,
"parent"
"parent.frames[number]"
document
Global document functions
,
,
A
AREA
APPLET
tags, and for
IMG
.
. If the
"unnamed <tag>"
value specifies the
value
parent
specify a document that
,
,
327
Need help?
Do you have a question about the DREAMWEAVER 8-DREAMWEAVER API and is the answer not in the manual?
Questions and answers