... a pop-up window, you see the variations in Figure 3- 3 . Chapter 3. XUL Elements and Features- P1 The XML-based User-interface Language (XUL) includes all of the basic widgets you need to ... that make up a window and basic applications. This chapter examines XUL elements and features in more detail, describing the rationale behind them, their look and behavio...
Ngày tải lên: 26/01/2014, 07:20
... Packaging and Installing Applications- P1 The previous chapters covered the basic parts of building an application. Now that you've seen how to create an application with XUL, CSS, and JavaScript ... Example 6-1. Package installation script 6.2 .3. 1. Setting up xFly To start working immediately with tools like XUL and CSS, you can move some things around and hac...
Ngày tải lên: 14/12/2013, 12:15
Tài liệu Creating Applications with Mozilla-Chapter 6. Packaging and Installing Applications-P2 ppt
... out the XPI and its internal installation script altogether and use a trigger script like Example 6- 13 and a regular JAR file to download and register the new package. Example 6- 13. Scriptless ... defined within that particular navigator .xul file. Example 6-7. Overlays in navigator .xul < ?xul- overlay href="chrome://navigator/content/navigatorOverlay.x ul"?&...
Ngày tải lên: 14/12/2013, 12:15
Tài liệu Creating Applications with Mozilla-Chapter 6. Packaging and Installing Applications-P3 pdf
... local machine, and registers it with the chrome registry. When the user restarts the browser, the xFly application is integrated into Mozilla and ready for use. The user can access it with any overlays ... 2 and 3 is to give your icon the same name as the Mozilla icon (mozilla.ico) and just drop it into the tree, replacing the existing one shown in Figure 6-6 . Figure 6-6. W...
Ngày tải lên: 14/12/2013, 12:15
Creating Applications with Mozilla-Chapter 3. XUL Elements and Features- P2
... Chapter 3. XUL Elements and Features- P2 Figure 3- 3. Visual comparison of menu widgets 3. 3.2.1. Menus Menus are much more flexible than they ... Listboxes and trees often use class-based style rules for their appearance and positioning (e.g., the column splitter in Example 3- 9 ). Example 3- 9 creates the listbox in Figure 3- 4. Figure 3- 4. ... the markup in Exa...
Ngày tải lên: 17/10/2013, 19:15
Creating Applications with Mozilla-Chapter 3. XUL Elements and Features- P3
... Chapter 3. XUL Elements and Features- P3 Figure 3- 5. Multilevel tree hierarchy 3. 4.2.4. Using trees in XUL templates XUL templates are special built-in structures ... updating of XUL elements and that are often used with trees and list boxes. Templates harness the power of the Resource Description Framework (RDF) to pull data from external datasources and d...
Ngày tải lên: 20/10/2013, 09:15
Creating Applications with Mozilla-Chapter 3. XUL Elements and Features- P4
... 3. 6 .3. 1. Button types Mozilla provides more than the standard "click" and "go" buttons in its toolkit. Table 3- 3 describes the various button types in Mozilla. Table 3- 3. ... Chapter 3. XUL Elements and Features- P4 Figure 3- 7. Checkbox widget Clicking on the box sets the checked attribute, for which ... the default option and the menuitems co...
Ngày tải lên: 20/10/2013, 09:15
Creating Applications with Mozilla-Chapter 3. XUL Elements and Features- P5
... Chapter 3. XUL Elements and Features- P5 3. 9.1. Box Attributes The XUL element <box> defines a number of attributes and some implicit behavior for layout. Boxes can be oriented within ... the items horizontally. 3. 9.2. Box-Like Containers The basic XUL box is represented by the <box>, <vbox>, and <hbox> elements, but several more XUL element...
Ngày tải lên: 24/10/2013, 08:15
Creating Applications with Mozilla-Chapter 3. XUL Elements and Features- P6
... Chapter 3. XUL Elements and Features- P6 3. 11. Overlays An overlay is a separate file in which additional XUL content can be defined and loaded at runtime. Overlays ... layout and install issues, see Chapter 6 . 3. 12. The Extras Certain lesser-known elements and features are indispensable to the savvy XUL developer and can add that something extra to Mozilla ap...
Ngày tải lên: 24/10/2013, 08:15
Tài liệu Creating Applications with Mozilla-Chapter 5. Scripting Mozilla- P1 doc
... associated with a XUL window and the other XUL elements, but you can see all of them if you run the example. Analyzing output like this can familiarize you with the interfaces available from window and ... is a handy way to obtain DOM elements without using getElementById. Not all elements have id attributes, so other means of getting at the elements must be used occas...
Ngày tải lên: 14/12/2013, 12:15