Add an asset to a document, Apply a color to text using the assets panel – Adobe Dreamweaver CC 2014 v.13 User Manual
Page 401
By default, assets in a category are listed alphabetically by name, but you can sort them by type and several other criteria. You can also preview
assets and resize the columns and the preview area.
View an asset in the preview area
Select the asset in the Assets panel.
For example, when you select a movie asset, the preview area shows an icon. To view the movie, click the Play button (the green triangle) in the
upper-right corner of the preview area.
Display assets in a category
Click a category icon on the left side of the Assets panel.
Sort assets
Click a column heading.
For example, to sort the list of images by type (so that all the GIF images are together, all the JPEG images are together, and so on), click the
Type column heading.
Resize a column
Drag the line separating two column headings.
Resize the preview area
Drag the splitter bar (between the preview area and the list of assets) up or down.
Refresh the Assets panel
It can take a few seconds to create the Site list because Dreamweaver must first read the site cache.
Certain changes don’t appear immediately in the Assets panel. For instance, when you add or remove an asset from your site, the changes don’t
appear in the Assets panel until you refresh the Site list by clicking the Refresh Site List button. If you add or remove an asset outside
Dreamweaver—usingWindows Explorer or the Finder, for example—you must rebuild the site cache to update the Assets panel.
When you remove the only instance of a particular color or URL in your site, or when you save a new file that contains a color or URL that isn’t
already used in the site, the changes don’t appear in the Assets panel until you refresh the Site list.
To refresh the Site list manually, click the Refresh Site List button . Dreamweaver creates the site cache or updates it as necessary.
To refresh the Site list and manually rebuild the site cache, right-click (Windows) or Command-click (Macintosh) in the Assets list, then
select Refresh Site List.
Add an asset to a document
You can insert most assets into a document by dragging them into the Code view or Design view in the Document window, or by using the Insert
button in the panel. You can either insert colors and URLs or apply them to selected text in the Design view. (URLs can also be applied to other
elements in the Design view, such as images.)
1. In Design view, place the insertion point where you want the asset to appear.
2. In the Assets panel, select from the asset category buttons at the left.
Note: Select any category except Templates. A template is applied to an entire document; it can’t be inserted into a document.
3. Select either Site or Favorites at the top of the panel, then select the asset.
There are no Site or Favorites lists for library items; skip this step if you’re inserting a library item.
4. Do one of the following:
Drag the asset from the panel to the document.
You can drag scripts into the head content area of the Document window; if that area isn’t visible, select View > Head Content.
Select the asset in the panel and click Insert.
If the inserted asset is a color, it applies to text appearing after the insertion point.
Apply a color to text using the Assets panel
The Assets panel shows the colors you’ve already applied to various elements, such as text, table borders, backgrounds, and so on.
1. Select the text in the document.
2. In the Assets panel, select the Colors category
.
3. Select the desired color and click Apply.
394