Macromedia dreamweaver 8-extending dreamweaver User Manual
The Behaviors API
317
identifyBehaviorArguments()
Description
This function identifies arguments from a behavior function call as navigation links,
dependent files, URLs, Netscape Navigator 4.0-style references, or object names so that URLs
in behaviors can update if the user saves the document to another location and so the
referenced files can appear in the site map and be considered dependent files for the purposes
of uploading to and downloading from a server.
dependent files, URLs, Netscape Navigator 4.0-style references, or object names so that URLs
in behaviors can update if the user saves the document to another location and so the
referenced files can appear in the site map and be considered dependent files for the purposes
of uploading to and downloading from a server.
Arguments
theFunctionCall
■
This argument is the string that the
applyBehavior()
function returns.
Returns
Dreamweaver expects a string that contains a comma-separated list of the types of arguments
in the function call. The length of the list must equal the number of arguments in the
function call. Argument types must be one of the following types:
in the function call. The length of the list must equal the number of arguments in the
function call. Argument types must be one of the following types:
■
The
nav
argument type specifies that the argument is a navigational URL, and therefore,
it should appear in the site map.
■
The
dep
argument type specifies that the argument is a dependent file URL, and
therefore, it should be included with all other dependent files when a document that
contains this behavior is downloaded from or uploaded to a server.
contains this behavior is downloaded from or uploaded to a server.
■
The
URL
argument type specifies that the argument is both a navigational URL and a
dependent URL or that it is a URL of an unknown type and should appear in the site map
and be considered a dependent file when downloading from or uploading to a server.
and be considered a dependent file when downloading from or uploading to a server.
■
The
NS4.0ref
argument type specifies that the argument is a Netscape Navigator 4.0-
style object reference.
■
The
IE4.0ref
argument type specifies that the argument is an Internet Explorer DOM
4.0-style object reference.
■
The
objName
argument type specifies that the argument is a simple object name, as
specified in the
NAME
attribute for the object. This type was added in Dreamweaver 3.
■
The
other
argument type specifies that the argument is none of the above types.