Đang chuẩn bị liên kết để tải về tài liệu:
Creating Applications with Mozilla-Chapter 6. Packaging and Installing Applications-P2

Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ

Tham khảo tài liệu 'creating applications with mozilla-chapter 6. packaging and installing applications-p2', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | Chapter 6. Packaging and Installing Applications-P2 6.2.3.4. Overlaying Mozilla files into your application In the previous section we described how to use the XUL overlay technology to put information from your application into the Mozilla browser. When developers use overlays in this way they usually add a menuitem or a new UI to the browser that provides access to the application. But overlays can also add interface elements and other data from Mozilla into the application itself. In fact each component in Mozilla imports a lot of its own user interface from such XUL overlay mainstays as globalOverlay.xul tasksOverlay.xul the file into which the xFly menuitem is overlaid and navigatorOverlay.xul. As you can see when you look at the main browser file navigator.xul shown in Example 6-7 most user interface is actually brought in from these reusable overlays. A relatively small percentage of all that appears in the browser is defined within that particular navigator.xul file. Example 6-7. Overlays in navigator.xul xul-overlay href chrome navigator content navigatorOverlay.x ul xul-overlay href chrome navigator content navExtraOverlay.xu l xul-overlay href chrome navigator content linkToolbarOverlay .xul xul-overlay href chrome communicator content sidebar sidebar Overlay.xul xul-overlay href chrome communicator content securityOverlay .xul xul-overlay href chrome communicator content communicatorOve rlay.xul xul-overlay href chrome communicator content bookmarks bookm arksOverlay.xul Of these overlays those with the most value for application developers are the communicatorOverlay.xul which defines many of browser menus the tasksOverlay.xul which adds the Tools menu and brings in all of its application menuitems as well as a lot of important browser functions like toOpenWindowByType and toNavigator for returning to the main browser window and the globalOverlay which is overlaid into navigatorOverlay.xul so it gets loaded there which defines even more general and .

crossorigin="anonymous">
Đã 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.