Use the Assets panel in Dreamweaver, to add, remove assets to favorite list. You can also give nicknames to your favorite assets.

The complete list of all recognized assets list can become cumbersome for some large sites. You can add frequently used assets to a Favorites list, group related assets together, give them nicknames to remind yourself what they’re for, and find them easily in the Assets panel.

Poznámka:

Favorite assets are not stored as separate files on your disk; they’re references to the assets in the Site list. Dreamweaver keeps track of which assets from the Site list to display in the Favorites list.

Most of the operations of the Assets panel are the same in the Favorites list as in the Site list. However, there are several tasks that you can perform only in the Favorites list.

Add or remove favorite assets

There are several ways to add assets to your site’s Favorites list in the Assets panel.

Adding a color or URL to the Favorites list requires an extra step. You can’t add new colors or URLs to the Site list; the Site list contains only assets that are already in use in your site.

Poznámka:

There are no Favorites lists for templates and library items.

Add assets to the Favorites list

Do one of the following:

  • Select one or more assets in the Site list of the Assets panel, right-click (Windows) or Control-click (Macintosh), then select Add To Favorites.

  • Select one or more files in the Files panel, right-click (Windows) or Control-click (Macintosh), then select Add To Favorites. Dreamweaver ignores files that don’t correspond to a category in the Assets panel.

  • Right-click (Windows) or Control-click (Macintosh) an element in the Document window’s Design view, then select the context menu command to add the element to a Favorites category.

    The context menu for text contains either Add To Color Favorites or Add To URL Favorites, depending on whether the text has a link attached. You can add only those elements that match one of the categories in the Assets panel.

Add a new color or URL to the Favorites list

  1. In the Assets panel, select the Colors or URLs category.
  2. Select the Favorites option at the top of the panel.
  3. Click the New Color or New URL button .
  4. Do one of the following:
    • Select a color using the color picker, then give the color a nickname if desired.

      To close the color picker without selecting a color, press Esc or click the gray bar at the top of the color picker.

    • Enter a URL and a nickname in the Add New URL dialog box, then click OK.

Remove assets from the Favorites list

  1. In the Assets panel, select the Favorites option at the top of the panel.
  2. Select one or more assets (or a folder) in the Favorites list.
  3. Click the Remove From Favorites button .

    The assets are removed from the Favorites list, but not from the Site list. If you remove a Favorites folder, the folder and all its contents are removed.

Create a nickname for a favorite asset

You can give nicknames (for instance, PageBackgroundColor rather than #999900) to assets only in the Favorites list. The Site list retains their real filenames (or values, in the case of colors and URLs).

  1. In the Assets panel (Window > Assets), select the category that contains your asset.
  2. Select the Favorites option at the top of the panel.
  3. Do one of the following:
    • Right-click (Windows) or Control-click (Macintosh) the asset’s name or icon in the Assets panel, then select Edit Nickname.

    • Click the asset’s name once, pause, then click it again. (Do not double-click; double-clicking opens the item for editing.)

  4. Type a nickname for the asset, then press Enter (Windows) or Return (Macintosh).

Group assets in a Favorites folder

Placing an asset in Favorites folder does not change the location of the asset’s file on your disk.

  1. In the Assets panel, select the Favorites option at the top of the panel. Right-click within the panel, and select New Favorites Folder.

  2. Type a name for the folder, then press Enter (Windows) or Return (Macintosh).
  3. Drag assets into the folder.

Licencia na používanie tohto diela sa poskytuje v súlade s podmienkami licencie Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Na príspevky v sociálnych sieťach Twitter™ a Facebook sa nevzťahujú podmienky licencií Creative Commons.

Právne upozornenia   |   Zásady ochrany osobných údajov online