beautypg.com

Dreamweaver.assetpalette.locateinsite(), Dreamweaver.assetpalette.newasset(), Dreamweaver.assetpalette.newfolder() – Adobe Dreamweaver API Reference CS5 User Manual

Page 313

background image

308

DREAMWEAVER API REFERENCE

Page content

Last updated 8/27/2013

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.

dreamweaver.assetPalette.newFolder()

Availability
Dreamweaver 4.

Description
Creates a new folder in the current category with the default name (untitled) and puts a text box around the default
name. It is available only in the Favorites list.

Arguments
None.