ABOUT LIBRARY ITEMS
`
The Basics
Defining Your Website
More Basics
What You Get
Getting Started
What is a .DWT
How to Unlock a .DWT
PERSONALIZING
Changing Colors
Editing Style sheet
Changing Fonts
Export Images Only
Customize Header
Export Frames
Website Menus
IMAGES
Images
Stock Images
TEMPLATE AREAS

Library Items
CSS Style Sheets
About Library Items Editable Areas

MARKETING
Optimize
Search Engines
Web Business
Resources
Front Page
Adobe's Contribute
Form Mail
Font Sources
Shopping Carts
Customization
TRICKS

Table Basics
Table Tips & Tricks
Round Corners
Dhtml Scripts
SEO Tools & Software
Navigation

LINKS

Big List of Links
Adobe Links
Dreamweaver  Links

 

A library is a special Dreamweaver file containing a collection of individual assets or copies of assets that you can place in your web pages. The assets in a library are called library items. Items that you can store in a library include images, tables, sounds, and Flash files. You can automatically update all the pages that use a library item whenever you edit the item.

 

For example, suppose you’re building a site for a company that wants a slogan to appear on every page. You can create a library item to contain the slogan and use that library item on every page. If the slogan changes, you can change the library item and automatically update every page that uses it.

Dreamweaver stores library items in a Library folder within the local root folder for each site. Each site has its own library.


You can create a library item from any element in the body section of a document, including text, tables, forms, Java applets, plug‑ins, ActiveX elements, navigation bars, and images.

 

For linked items such as images, the library stores only a reference to the item. The original file must remain at the specified location for the library item to work correctly.

 

When you use a library item, Dreamweaver inserts a link to it, rather than the item itself, in the web page. That is, Dreamweaver inserts a copy of the HTML source code for that item into the document and adds an HTML comment containing a reference to the original, external item. It is this external reference that makes automatic updating possible.

 

When you create a library item that includes an element with a Dreamweaver behavior attached to it, Dreamweaver copies the element and its event handler (the attribute that specifies which event triggers the action, such as onClick, onLoad, or onMouseOver, and which action to call when the event occurs) to the library item file. Dreamweaver does not copy the associated JavaScript functions into the library item. Instead, when you insert the library item into a document, Dreamweaver automatically inserts the appropriate JavaScript functions into the head section of that document (if they aren’t already there).


 

 
 
 

Template Designs  ::  Optimize (SEO) Site  :: Terms Of Use
Internet Marketing :: Web Design ::  Export  ::    Meta Tags
    Home  :: © 2007, Lynda-Design