MACROMEDIA DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER Manual page 380

Extending dreamweaver
Hide thumbs Also See for DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER:
Table of Contents

Advertisement

The CMN folder
The CMN folder contains the following utility functions:
dateID.js
displayHelp.js
docInfo.js
DOM.js
enableControl.js
errmsg.js
file.js
form.js
handler.js
helper.js
380
Appendix A: The Shared Folder
Contains two functions,
Given three strings, dayFormat, dateFormat, and timeFormat,
creates an ID for them. Given a date array,
createDateID()
returns an array with three items: the
decipherDateID()
dayFormat, the dateFormat, and the timeFormat.
Contains one function that displays the specified Help document.
Contains functions that provide information about the user's
document. Operations performed by functions include returning
an array of object references for a specified browser type and tag,
returning all instances of a specified tag name, searching for a tag
that wraps the current selection, and so on,
Contains general helper functions for working with the
Dreamweaver DOM. Includes functions that get the root node of
the active document, find a tag of a given name, create a list of
nodes from the specified starting node, check whether a given
tag is contained inside another tag, perform various operations
on behavior functions, and more.
Contains one function,
control based on the arguments it receives. It is OK to enable a
control that is already enabled or disable a control that is
already disabled.
Contains logging functions for accumulating tracing output into
an array of log pages that appear in a dialog box.
Contains functions pertaining to file operations. Functions let the
user browse for local filename, convert the relative path to the file
URL path, return filename for current document, determine if a
specified document has been saved in current site and return the
document-relative path, or determine if a specified file is
currently open.
Contains functions that add a form around a given text string if a
form does not already exist in the current document or layer.
Includes functions that determine if an object is a layer and
determine if the cursor is inside a form.
Contains functions that get a function for an event handler, add a
function to an event handler, and delete a function for an
event handler.
Contains a handful of useful functions that replace encoding,
unescape quotation marks ("), check whether a node is inside a
selection range, and checks for duplicate object names.
and
createDateID()
decipherDateID()
, which enables or disables a
SetEnabled()
.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Dreamweaver mx 2004

Table of Contents