Making and Applying a Library Object
Local events are begging to be Library Objects. The navigational links at the
bottom of each page of this workshop web site come from one library object.
When I make a change to the library object (cleverly titled "Dreamweaver
links") Dreamweaver prompts me to update all affected pages. These pages
then need to be uploaded to the web server for the world to see the changes.
Make a Library Object
To see how this is done, open the file "LocalEvent.html" from the
example web site folder.
- Go to the "File" menu
- Choose "Open..."
- Locate the example web site folder (ExampleWebSite)
- Open ExampleWebSite
- Open "docs_for_exercises"
- Open the file "LocalEvent.html"
- Select the text by dragging your cursor over it
- Go to the "Modify" menu
- Choose "Library>Add Object to Library"
- Name it "Local Event Text"
- Hit "Return" (Mac OS) or "Enter" (Windows)
Apply a Library Object
To see how this is done, open the file "EditMe.html" from the example
web site folder.
- Go to the "File" menu
- Choose "Open..."
- Locate the example web site folder (ExampleWebSite)
- Open ExampleWebSite
- Open "docs_for_exercises"
- Open the file "EditMe.html"
- Click in your edit window where you want the code to be included
- Go to the "Window" menu
- Choose "Library" to open the Library panel (Figure 4)

- Click on the Library object "Local Event Text" in the Library
panel
- Click on the "Insert" button at the bottom left of the panel
Edit a Library Object
- Go to the "Window" menu
- Choose "Library"
- Double-click the desired Library Object (Local Event Text)
- Edit away!
- Save the changes
Dreamweaver will ask if you want to update your pages.
- Choose "Update"
- Read the report Dreamweaver generates
- When you're done with the report click "Close"
When you're ready, move on to "Creating and Applying
a Template."
Dreamweaver Management Tools Navigational Links
- Dreamweaver Management Tools
Workshop
- Defining a Site
- Server-Side Include (SSI)
and Library Object
- Making and Applying a SSI
- Making and Applying a Library
Object
- Creating and Applying a
Template
- Find and Replace
- Web Design
References
| Did you find what you were looking for?
YES
NO |
©2003 Regents of the University of Minnesota. All rights reserved.
The University of Minnesota is an equal opportunity educator and employer.
Last modified on 04/22/02
| Contact ITSS |
Privacy
|