adobe dreamweaver cs5 on demand part 65

Sử dụng Code Snippets và Thư viện Bảng Snippets là một bộ sưu tập của kịch bản (gọi là Snippets) mà bạn có thể thả vào các trang web của bạn. Về cơ bản, đoạn một là một lựa chọn trước khi xây dựng mã. Bảng Snippets trong các hành vi biến giống như một thư viện mã, với các bộ phận hoặc thư mục cho các đoạn khác nhau. | Using Code Snippets and Libraries 17 Introduction The Snippets panel is a collection of Scripts called Snippets that you can drop into your Web pages. Essentially a snippet is a pre-built selection of code. The Snippets panel in turn acts like a code library with sections or folders for different snippets. There are ten major folders and some folders have subfolders to organize content. Each folder has a small triangle located to the right of the folder name. Clicking this icon expands or contracts the folders contents revealing either more folders or snippets of code. For example expanding the JavaScript folder reveals 16 more sub-folders jam-packed with cool features to add to your Web site. There are thousands of JavaScript codes that can be executed within a Web browser so Dreamweaver categorized JavaScript into sub-folders to help you better understand where to find the code you need. You will find a group of scripts for managing and controlling Browser functions cookies readable functions and a whole host of additional tools. All said and told the JavaScript folder alone has over 80 individual snippets. Most well designed Web sites have areas that are repeated from page to page. These would include header areas navigation bars information boxes footers etc. Occasionally changes need to be made in these areas. There are wonderfully easy-to-use components in Dreamweaver to make those changes appear on multiple pages when the change is made at one location. Dreamweaver has two such components Libraries and Templates. Library items are sections of a Web page that can be used over and over again. Dreamweaver Templates are really large Library items. In this chapter you ll learn how to work with and add snippets to your Web pages as well as modify and edit them. In addition you ll learn how Library items can streamline your workflow in the creation of a complex Web site. What You ll Do Introduce Snippets Insert a Snippet Edit Existing Snippets Create Snippets .

Không thể tạo bản xem trước, hãy bấm tải xuống
TÀI LIỆU MỚI ĐĂNG
11    102    1    05-07-2024
2    113    7    05-07-2024
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.