User Guide
294 Chapter 15: Page Content
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
• The targetSite argument is the name of the target site, which the site.getSites()
call returns.
Returns
Nothing.
000_DW_API_Print.book Page 294 Wednesday, August 20, 2003 9:14 AM