Logo
programming4us
programming4us
programming4us
programming4us
Home
programming4us
XP
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server
programming4us
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

- How To Install Windows Server 2012 On VirtualBox
- How To Bypass Torrent Connection Blocking By Your ISP
- How To Install Actual Facebook App On Kindle Fire
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
 
 
Top 10
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
- First look: Apple Watch

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

- 3 Tips for Maintaining Your Cell Phone Battery (part 2)
programming4us programming4us
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 windows Phone 7 windows Phone 8
programming4us programming4us
 
programming4us
Natural Miscarriage
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server
programming4us
Game Trailer