Specifications
The Dreamweaver JavaScript API 373
dreamweaver.assetPalette.addToFavoritesFromSiteAssets()
Availability
Dreamweaver 4
Description
Adds elements that are selected in the Site list to the Favorites list and gives each item a nickname
in the Favorites list. This function does not remove the element from the Site list.
Arguments
None.
Returns
Nothing.
dreamweaver.assetPalette.addToFavoritesFromSiteWindow()
Availability
Dreamweaver 4
Description
Adds the elements that are selected in the Site Panel or Site Map to the Favorites list. This
function handles only images, movies, scripts, Shockwave files, Flash files, and URLs (in the case
of the Site Map). If other folders or files are selected, they are ignored.
Arguments
None.
Returns
Nothing.
dreamweaver.assetPalette.copyToSite()
Availability
Dreamweaver 4
Description
Copies selected elements to another Site and puts them in that Site’s Favorites list. If the
elements are files (other than colors or URLs), the actual file is copied into that Site.
Arguments
targetSite
targetSite
is the name of the target Site, as returned from the site.getSites() call.
Returns
Nothing.