What is Library in Dreamweaver 8?
A library created in Dreamweaver 8, enables the person to reuse common elements in a site without recreating the element on each page in which it appears. The library item has the real power which can edit an item once and changes will be reflected in each location that the element appears.
In using a library item, simply select the location on a page where the element should appear in either Design View or Code View. Just move the item from the library to the location. Alternately, items can be inserted into the selected location by selecting it from the library panel and clicking Insert below the Assets panel. In some cases, you may want to prevent an item being edited from being updated. If this is the case, select the library item and open the Properties panel. Choose the "Detach From Original" button. Your Chosen item is now disconnected from the Library and if changes are made to the master file, it will not be updated.
For editing a library item, select the item and double-click it or select the "Edit" icon, which shows "pencil and paper" at the bottom of the pane. The edited pane will be opened by the library item. You will see the code as well as a visual representation of the item that is being edited. Changes needed should be made by you and save it. Dreamweaver 8 will show you with an "Update Library Items" dialogue box. If change would me made to the pages which use the edited item, you can choose that option. Otherwise, there will be no visible changes to the pages on which the library item appears.
Library items can also be renamed. Existing links to active pages cannot be disrupted by renaming a library item. In renaming a library item, select it and click the Menu button at the top right of the Assets panel. Choose Rename and enter your item’s new name. then, press enter. Dreamweaver 8 will ask if the pages that use the library item will be updated by you. By updating the item, existing instances of the library item will cause it to be renamed.
In Deleting a library item is very simple. Select it and press the trashcan icon. You can no longer see the item from the library because it’s been removed. Item deletion from the library will not delete it from the pages on which it appears. To delete a library item from a page, you must edit the page itself and remove it like any other unwanted element.
What makes using the Library valuable in Dreamweaver 8? Well, because using, editing and deleting library items is a very simple task. The library is flexible tool that saves time, has more accuracy, and has uniform pages throughout a site. |