Macromedia dreamweaver 8-extending dreamweaver Manuale Utente
Configuration folders and extensions
103
The Configuration/Shared folder does not correspond to a specific extension type. It is the
central repository for utility functions, classes, and images that are used by more than one
extension. The files in the Configuration/Shared/Common folder are designed to be useful to
a broad range of extensions. These files are useful as examples of JavaScript techniques and as
utilities. Look here first for the functions that perform specific tasks, such as creating a valid
Document Object Model (DOM) reference to an object, testing whether the current selection
is inside a particular tag, escaping special characters in strings, and more. If you create
common files, you should create a separate subfolder in the Configuration/Shared/Common
folder, which is shown in the following figure, and store them there.
central repository for utility functions, classes, and images that are used by more than one
extension. The files in the Configuration/Shared/Common folder are designed to be useful to
a broad range of extensions. These files are useful as examples of JavaScript techniques and as
utilities. Look here first for the functions that perform specific tasks, such as creating a valid
Document Object Model (DOM) reference to an object, testing whether the current selection
is inside a particular tag, escaping special characters in strings, and more. If you create
common files, you should create a separate subfolder in the Configuration/Shared/Common
folder, which is shown in the following figure, and store them there.
Configuration/Shared/Common/Scripts folder structure
For more information about the Shared folder, see
.