O'Reilly logo

Dreamweaver MX: The Missing Manual by David Sawyer McFarland

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required