Quickly update your Web site with the Dreamweaver CS3 file library feature

Source: Internet
Author: User
Tags dreamweaver

When we build a larger web site there will be a lot of secondary page frame patterns and even small detail elements are the same, but it's disturbing to update them with a bit of difficulty, and to update the elements of each page over and over again. Now we can say goodbye to that time, because DW introduces the concept of "library". We can use it to batch update the same elements in the site. Large to the entire page frame, as small as one character! The introduction of the library in the DW3 is not perfect, but in DW4 to near perfect. Let's take a look at how to use the library to update the site:
First, the creation of a library file
There are two ways to set up a library file, one is to select an element in the editing state, and then open the Library panel (F11 key-Select the icon in the assets to open the book-like logo) press. The DW will automatically create a file with a suffix named ". LIB" to read the element to the file and create a "Library" folder in the local site. It represents that every library file is independent, when we upload the local site to the remote server, upload the file together, and the second way is to open the Library panel, right-click in the white file record area, and select the new library item in the Open list. Create a blank library file, and then double-click to open for editing. The first method applies to the creation of library files for small elements such as text \ Images \ links. The second method is suitable for the establishment of large scale library files, in most cases, the establishment of large-scale library files are used in conjunction with the template.
Second, library file application and edit
We have built some simple library files, including connection \ image \ table. Each of them can be understood as a single element inserted into the editing area, just drag them from the library panel to where you want them. It should be emphasized that the inserted library file is locked. They are displayed in a light yellow color. Select a library file to view the code and you will find the following label "* * *" which represents a complete library file, there is beginning to have an end. You can change the location of the labels, but do not delete them, so that the library file is corrupted and returned to the pure edit state.
There are two ways to edit a library file by double-clicking a library file in the Library panel file record area to enter the edit state. The second is to select a library file click on the Open library item in the Bounce list to enter the edit status. When we edit and save the library file, the page that is in the edit state that is using the file is automatically updated. If there are other non-edited pages that also use the library file, DW automatically pops up a prompt box. asks if you want to synchronize updates to all pages in the local site that use the file. This feature is the biggest advantage of library files. Our systemWhen you complete the site and upload all files to the remote server along with the Library folder, you will be prompted by the DW when we change a library file in the state of the remote site. The
asks if you want to synchronize all pages that use the library file in all sites. Click OK key, the file in the remote site is updated, completely do not need a little bit of repeated updates every file.
So far, we have a general idea of the use of the library. As for the skilled use of this function will rely on their own more hands. I believe this feature will bring great convenience to your site update.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.