Operation Manual
107
USING DREAMWEAVER
Managing assets and libraries
Last updated 3/28/2012
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.
More Help topics
“Add or remove favorite assets” on page 110