DREAMWEAVER CS3
274
API Reference
Description
Inserts selected elements or applies the element to the current selection. It applies templates, colors, and URLs to the
selection; it also inserts URLs and other elements at the insertion point. If a document isn't open, the function is not
available.
Arguments
None.
Returns
Nothing.
Enabler
See "dreamweaver.assetPalette.canInsertOrApply()" on page 445.
dreamweaver.assetPalette.locateInSite()
Availability
Dreamweaver 4.
Description
Selects files that are associated with the selected elements in the local side of the Site panel. This function does not
work for colors or URLs. It is available in the Site list and the Favorites list. If a folder is selected in the Favorites list,
the folder is ignored.
Arguments
None.
Returns
Nothing.
dreamweaver.assetPalette.newAsset()
Availability
Dreamweaver 4.
Description
Creates a new element for the current category in the Favorites list. For library and templates, this is a new blank
library or template file that the user can name immediately. For colors, the color picker appears. For URLs, a dialog
box appears and prompts the user for a URL and a nickname. This function is not available for images, Shockwave
files, Flash files, or scripts.
Arguments
None.
Returns
Nothing.