Logo
HOW TO
Windows XP
Windows Vista
Windows 7
Windows Azure
Windows Server
Windows Phone
 
 
Windows Vista

Adobe Dreamweaver CS5 : Using Library Items and Server-side Includes (part 3) - Using the Library Assets Panel - Deleting an item from the Library , Renaming a Library item

11/29/2013 1:47:43 AM

2.4. Deleting an item from the Library

Removing an entry from your site's Library is a two-step process. First, you must delete the item from the Library category. Second, if you want to keep the item on your page, you must make it editable again. Before you complete the second step, Dreamweaver maintains the Library highlighting and, more important, prevents you from modifying the element.

To delete an item from the Library, follow these steps:

  1. Open the Web page containing the Library item you want to delete.

  2. Open the Library category by choosing Window => Assets.

  3. Select the Library item in the Site list and click the Delete button.

  4. Dreamweaver asks if you are sure you want to delete the item. Click Yes, and the entry is removed from the Library item list. (Or click No to cancel.)

  5. In the Document window, select the element you are removing from the Library.

  6. In the Properties panel, click Detach from Original.

  7. As shown in Figure 3, Dreamweaver warns you that if you proceed, the item cannot be automatically updated (as a Library element). Click OK to proceed. The yellow Library highlighting vanishes, and the element can now be modified individually. Check the Don't Warn Me Again box to disable any future warnings about detaching Library items.

NOTE

Should you unintentionally delete a Library item in the Library category, you can restore it if you still have the entry included in a Web page. Select the element within the page and, in the Properties panel, click the Recreate button. Dreamweaver restores the item, with the original Library name, to the Library item list.

Figure 3. When you are making a Library item editable, Dreamweaver alerts you that, if you proceed, you won't be able to update the item automatically using the Library function.

2.5. Renaming a Library item

It's easy to rename a Library item, both in the Assets panel and across your site. Dreamweaver automatically updates the name for any embedded Library item. To give an existing Library entry a new name, open the Library category and click the name of the item twice, slowly — do not double-click. Alternatively, you can select Rename from the context menu of the Assets panel. The name is highlighted, and a small box appears around it. Enter the new name and press Enter (Return).

Dreamweaver then displays the Update Files dialog box with a list of files in which the renamed Library item is contained. Select Update to rename the Library item across the site. If you select Don't Update, the Library item is renamed only in the Library category. Furthermore, your embedded Library items are orphaned — that is, no master Library item is associated with them, and they are not updatable.

Building a Library Item

One of the most common — and useful — applications for a Library item concerns site navigation. In this Dreamweaver Technique, you create a Library item for the bottom, text-based navigation and apply it to a number of pages.

  1. From the Techniques site, expand the 29_Library_Items folder and open the library_items_start1.htm file.

  2. In Design view, move to the bottom of the page and place your cursor in the footer area text navigation.

  3. In the Tag Selector, select the <p> tag.

    Although you can create a Library item out of any code fragment, it's generally best to work with a complete tag.

  4. From the Files panel group, click the Assets tab.

  5. Choose the Library category, the last icon on the left side of the Assets panel.

  6. Click New Library Item from the bottom row of the Assets panel.

  7. Dreamweaver reminds you that the Library item may not look the same when inserted in other pages because of the associated CSS; click OK to acknowledge the reminder.

    Your selection is converted into a Library item and displayed in the Assets panel.

  8. Replace the Untitled Library item name with textNavigation, and press Enter (Return).

  9. Dreamweaver asks if you'd like to update the links in the current .lbi file; click Update.



  10. Save your page.

If you have Invisible Elements enabled, you might notice a light yellow highlight around the text navigation now; this indicates that it is no longer directly editable and is now a Library item.

Other -----------------
- Configuring Startup and Troubleshooting Startup Issues : How to Configure Startup Settings (part 2) - How to Use BCDEdit
- Configuring Startup and Troubleshooting Startup Issues : How to Configure Startup Settings (part 1)
- Configuring Startup and Troubleshooting Startup Issues : Important Startup Files
- Accessing and Using Your Network : Collaborating with Windows Meeting Space (part 2)
- Accessing and Using Your Network : Collaborating with Windows Meeting Space (part 1)
- Accessing and Using Your Network : Working with Offline Files and the Sync Center (part 2) - Synchronizing Offline Files, Handling Synchronization Conflicts
- Accessing and Using Your Network : Working with Offline Files and the Sync Center (part 1) - Working with Network Files Offline
- Accessing and Using Your Network : Sharing Resources with the Network (part 3) - Hiding Shared Resources
- Accessing and Using Your Network : Sharing Resources with the Network (part 2) - Sharing a Resource
- Accessing and Using Your Network : Sharing Resources with the Network (part 1) - Setting Up File and Printer Sharing, Deactivating the Sharing Wizard
 
 
REVIEW
- First look: Apple Watch

- 10 Amazing Tools You Should Be Using with Dropbox

- 3 Tips for Maintaining Your Cell Phone Battery (part 1)

- 3 Tips for Maintaining Your Cell Phone Battery (part 2)
 
VIDEO TUTORIAL
- How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 1)

- How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 2)

- How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 3)
 
Popular tags
Microsoft Access Microsoft Excel Microsoft OneNote Microsoft PowerPoint Microsoft Project Microsoft Visio Microsoft Word Active Directory Biztalk Exchange Server Microsoft LynC Server Microsoft Dynamic Sharepoint Sql Server Windows Server 2008 Windows Server 2012 Windows 7 Windows 8 Adobe Indesign Adobe Flash Professional Dreamweaver Adobe Illustrator Adobe After Effects Adobe Photoshop Adobe Fireworks Adobe Flash Catalyst Corel Painter X CorelDRAW X5 CorelDraw 10 QuarkXPress 8 windows Phone 7 windows Phone 8 BlackBerry Android Ipad Iphone iOS
Popular keywords
HOW TO Swimlane in Visio Visio sort key Pen and Touch Creating groups in Windows Server Raid in Windows Server Exchange 2010 maintenance Exchange server mail enabled groups Debugging Tools Collaborating
Top 10
- Microsoft Excel : How to Use the VLookUp Function
- Fix and Tweak Graphics and Video (part 3) : How to Fix : My Screen Is Sluggish - Adjust Hardware Acceleration
- Fix and Tweak Graphics and Video (part 2) : How to Fix : Text on My Screen Is Too Small
- Fix and Tweak Graphics and Video (part 1) : How to Fix : Adjust the Resolution
- Windows Phone 8 Apps : Camera (part 4) - Adjusting Video Settings, Using the Video Light
- Windows Phone 8 Apps : Camera (part 3) - Using the Front Camera, Activating Video Mode
- Windows Phone 8 Apps : Camera (part 2) - Controlling the Camera’s Flash, Changing the Camera’s Behavior with Lenses
- Windows Phone 8 Apps : Camera (part 1) - Adjusting Photo Settings
- MDT's Client Wizard : Package Properties
- MDT's Client Wizard : Driver Properties
 
Windows XP
Windows Vista
Windows 7
Windows Azure
Windows Server
Windows Phone
2015 Camaro