• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Discovering library items

Webmasters have several methods at their disposal for implementing similar types of functionality on a Web site; using the library items feature is the Dreamweaver‐specific method. The assets panel is usually open within the Files panel and can be accessed by clicking the Assets tab. If the assets panel is not open, you access library items through the Assets panel. (See Figure 6-8 .) Choose Window⇨Assets from the Dreamweaver menu bar to open the Assets panel. After you have created an HTML document, you can make parts of it into library items. With library items, you can reuse that content on other pages by dragging it from the Library into the spot on the document you'd like for it to be. By default, there aren't any library items, so you'll have to make them yourself.

Figure 6-8: Viewing library items in the Assets panel.


  • Create part of a page once and then quickly apply the code from it to other pages on your site. You might find library items useful to implement and maintain consistency in footers, banners, and navigational elements.

  • Update all instances of a library item at once. Library items maintain an association to the library item file, so if you update the original, the other instances of it are updated, too.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint