
The Shared folder contents 487
The Scripts folder also contains two subfolders, Class and CMN.
The Class folder
The Class folder contains the following utility functions:
navBar.js Contains classes and functions for working with a navigation
bar and navigation bar elements. Includes functions to add,
remove, and manipulate navigation bar elements.
NBInit.js Contains functions related to navigation bar image behaviors.
pageEncodings.js Defines various language codes.
preload.js Contains functions for adding and deleting preload-image calls
to the
BODY/onLoad MM_preloadImages handler.
RecordsetDialogClass.js Contains the static class and functions to display the recordset
server behaviors UI. Functions determine which interface,
simple or advanced, to display. Also, houses functionality
shared between the UI implementations and mediates switches
between the UIs.
sbUtils.js Contains shared functions for use within Macromedia server
behaviors. The
dwscripts class in the Configuration/Shared/
Common/Scripts folder contains more general
purpose utilities.
setText.js Contains functions to escape an expression string, unescape
an expression string, and extract an expression string.
sortTable.js Contains functions to initialize and sort a table as well as
functions to sort an array, set the mouse pointer to a hand icon
or pointer, and check the type and version of the browser.
classCheckbox.js Helps manipulate a checkbox control in your HTML extension.
FileClass.js Contains class that represents a file in the file system. The
paths are represented by URLs for cross-platform
compatibility. Methods include
toString(), getName(),
getSimpleName(), getExtension(), getPath(), setPath(),
isAbsolute(), getAbsolutePath(), getParent(),
getAbsoluteParent(), exists(), getAttributes(), canRead(),
canWrite(), isFile(), isFolder(), listFolder(),
createFolder(), getContents(), setContents(), copyTo(), and
remove().
GridClass.js Contains class that manages
MM:TREECONTROL.
Kommentare zu diesen Handbüchern