TAILIEUCHUNG - Appendix B. Development Tools- P2

Cuốn sách này mô tả cách tạo ra các ứng dụng bằng cách sử dụng Mozilla. Nói chung, tất cả các phần đó đi vào một ứng dụng (bao gồm cả XUL, CSS, XBL, và DTD tập tin) cần phải được xây dựng bởi bàn tay kể từ khi không có công cụ phát triển làm sẵn hoặc các ứng dụng phát triển hoàn chỉnh có sẵn mà có thể làm cho các quy trình hướng dẫn sử dụng dễ dàng hơn. Tạo tất cả những tập tin này bằng tay là một cách tuyệt vời để làm quen với. | Appendix B. Development Tools- P2 . The DOM Inspector The DOM Inspector tool which is now installed by default in the Mozilla browser and accessible from Tools Web Development displays the document object mode of any document or part of the interface and allows you to update that DOM dynamically by changing attribute values rearranging the structured content or deleting nodes. The DOM Inspector reads the DOM of the requested window or document into memory where you can manipulate it. However the DOM Inspector does not persist your changes back out to the file from which that DOM was originally loaded. If you use JavaScript in the interface or to manipulate web pages then you will recognize what a powerful tool it can be -- particularly given how hard it can be to see the interface s object model clearly and figure out which nodes in the DOM correspond to which parts of the displayed interface. The DOM Inspector also allows you to inspect local files and URLs. To open a file for inspection in the DOM Inspector choose either File Inspect a Window or Inspect a URL . . . and enter the URL of the web document you want to inspect in the dialog. When the DOM Inspector loads a document it displays the DOM as shown in Figure B-1 of that document as a tree structure on the lefthand side and the individual nodes with their attributes and other information on the righthand side. Figure B-1. The DOM inspector interface As you click on the nodes in the tree in the left panel the DOM Inspector highlights the nodes that are part of the visible interface by pointing them out with a blinking red border. You can peck through the tree in the DOM Inspector and find all parts of the interface. The DOM Inspector also displays any anonymous content that is part of the window. See Chapter 7 for information about anonymous content and the way it relates to the DOM. The anonymous content nodes that are bound to the window you specify become part of the DOM that the Inspector reads and can

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã 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.