beautypg.com

Assets panel functions, Chapter 15: page content – Adobe Dreamweaver API Reference CS5 User Manual

Page 309

background image

304

Last updated 8/27/2013

Chapter 15: Page content

The Adobe® Dreamweaver® page content functions perform operations that affect the content of a web page. The
operations include the following:

Manipulating assets in the Assets panel

Adding behaviors

Cutting and pasting elements from the Clipboard

Applying a template

Inserting a code snippet

Creating Spry XML data sets

Enhanced editing of Spry and other widgets

Inserting widgets

Creating page layouts that work well across multiple browsers using The browser compatibility check functions

Assets panel functions

Assets panel functions, which are programmed into the API as an asset panel, let you manage and use the elements in
the Assets panel (templates, libraries, images, Adobe Shockwave and Adobe Flash content, URLs, colors, and scripts).

dreamweaver.assetPalette.addToFavoritesFrom Document()

Availability
Dreamweaver 4.

Description
Adds the element that is selected in the Document window to the Favorites list. This function handles only images,
Shockwave files, Flash files, text font colors, and URLs.

Arguments
None.

Returns
Nothing.

dreamweaver.assetPalette.addToFavoritesFromSiteAssets()

Availability
Dreamweaver 4.