Library Tutorial

In this tutorial, you’ll turn the Cosmopolitan Farmer copyright notice into a reusable Library item and add it to several pages in the site.

Note

The tutorial in this chapter requires the example files from this book’s Web site, http://www.sawmac.com/dwmx. Click the Tutorials link to go to the tutorials page. Click to download Library Tutorial—Mac Files or Library Tutorial—Windows Files, depending on the kind of machine you’re using.

After your browser downloads and decompresses the files, you should have a DWLib (short for Dreamweaver Libraries) folder on your computer, containing the Web pages and graphics needed for this tutorial. If you’re having difficulties, the Web site contains detailed instructions for downloading the files you’ll be using with this book.

Creating a Library Item

Keep track of the location of the DWLib folder; you’ll need it in the next step.

  1. Following the instructions on page 25, create a local site in Dreamweaver, choosing the DWLib folder as the root folder.

    Name the site and set the root folder in the Local Info category of the Site Definition window. (Don’t worry about the Remote Info, Design Notes, or any of the other categories.)

  2. In the Site window, double-click the file index.html.

    The home page opens.

  3. Scroll to the bottom of the page and select the copyright.

    Copyright information should be on every page of the site, so it makes a perfect candidate for a Library item. Notice that the copyright information is more than just text; it’s ...

Get Dreamweaver MX: The Missing Manual now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.