Tài liệu Creating Applications with Mozilla-Chapter 2 Getting Started- P1 doc

Tài liệu Creating Applications with Mozilla-Chapter 11. Localization-P1 pptx

Tài liệu Creating Applications with Mozilla-Chapter 11. Localization-P1 pptx

... "The Chrome Registry and Locale." 11 .2. 2. External and Inline Entities You may ask, how are the entities accessed? You can associate the DTD with your XUL file in two ways. The first is ... second is an external DTD file, which is associated with your XUL that also uses the DOCTYPE declaration, and a reference pointing to the file: <!DOCTYPE window SYSTEM "chrome:...

Ngày tải lên: 21/01/2014, 06:20

17 239 0
Tài liệu Creating Applications with Mozilla-Chapter 2. Getting Started- P1 doc

Tài liệu Creating Applications with Mozilla-Chapter 2. Getting Started- P1 doc

... environment, and creates a new window in the window hierarchy. Chapter 2. Getting Started- P1 To help you start creating applications as quickly as possible, this chapter presents two "Hello ... the XUL elements with xul: to distinguish them from markup in other namespaces, as with the xul:box and xul:button shown in Example 2- 3. 2. 2.4. Basic XUL Layout Example...

Ngày tải lên: 26/01/2014, 07:20

17 278 0
Tài liệu Creating Applications with Mozilla-Chapter 2. Getting Started- P2 pptx

Tài liệu Creating Applications with Mozilla-Chapter 2. Getting Started- P2 pptx

... Chapter 2. Getting Started- P2 2. 3. Making Mozilla Work for You The second "Hello World" sample, shown in Example 2- 4 , adds some important application ... chapter in the section Section 2. 5 . Figure 2- 2. The second Hello xFly example loaded in the browser 2. 3.1. Importing Resources from Mozilla The code in Example 2- 4 uses scripts and styles ... dialogOver...

Ngày tải lên: 26/01/2014, 07:20

7 334 0
Tài liệu Creating Applications with Mozilla-Chapter 2. Getting Started- P3 docx

Tài liệu Creating Applications with Mozilla-Chapter 2. Getting Started- P3 docx

... tree structure in Example 2- 14 . Example 2- 14. Tree structure of a completed sample xFly package chrome/ xfly/ content/ Chapter 2. Getting Started- P3 2. 5. Creating a Package The previous ... many. With a little imagination, you can extend the content available to you infinitely by adding your own styling and behavior with XBL. 2. 5 .2. 2. Chrome appearance Loading...

Ngày tải lên: 26/01/2014, 07:20

24 233 0
Tài liệu Creating Applications with Mozilla-Chapter 5. Scripting Mozilla- P1 doc

Tài liệu Creating Applications with Mozilla-Chapter 5. Scripting Mozilla- P1 doc

... features of the new JavaScript 1.5,[1] which is based on the ECMA -26 2 standard. [2] JavaScript 2. 0, due sometime late in 20 02, promises to be an even bigger promotion of the language. Three ... http://developer.netscape.com/docs/manuals/index.html?content=javascript.html. [2] The third edition of the EMCA -26 2 EMCAScript Language Specification can be found at http://www.ecma...

Ngày tải lên: 14/12/2013, 12:15

21 333 0
Tài liệu Creating Applications with Mozilla-Chapter 5. Scripting Mozilla- P2 ppt

Tài liệu Creating Applications with Mozilla-Chapter 5. Scripting Mozilla- P2 ppt

... label="http://www.oreilly.com" id="t2" /> </treerow> </treeitem> </treechildren> </tree> </window> 5.3 .2. 2. Capturing events Event capturing is ... Chapter 5. Scripting Mozilla- P2 Figure 5 -2. Toggling the state of menu items in xFly The following section explains more about ... 5.3. Adding Scripts to the UI Once you ar...

Ngày tải lên: 14/12/2013, 12:15

12 384 0
Tài liệu Creating Applications with Mozilla-Chapter 5. Scripting Mozilla- P3 docx

Tài liệu Creating Applications with Mozilla-Chapter 5. Scripting Mozilla- P3 docx

... manipulated in this way. 5.3.4. Creating Elements Dynamically Using the createElement method in XUL lets you accomplish things similar to document.write in HTML, with which you can create new ... title="test" style=" min-width : 20 0px; min-height: 20 0px;"> <script> <![CDATA[ function generate( ){ var d = document; var popup = d.getEleme...

Ngày tải lên: 14/12/2013, 12:15

10 283 0
Tài liệu Creating Applications with Mozilla-Chapter 5. Scripting Mozilla- P4 docx

Tài liệu Creating Applications with Mozilla-Chapter 5. Scripting Mozilla- P4 docx

... for xpcshell, type this: $ ./run-mozilla.sh ./xpcshell help JavaScript-C 1.5 pre-release 4a 20 02- 03 -21 usage: xpcshell [-s] [-w] [-W] [-v version] [-f scriptfile] [scriptfile] [scriptarg ] The ... textfield1 = document.getElementById("tf1"); textfield1.setAttribute("value", cd); } function getMozDir( ) { md = du.getMozHomeDir( ); textfield2 = document.ge...

Ngày tải lên: 14/12/2013, 12:15

22 336 0
Tài liệu Creating Applications with Mozilla-Chapter 6. Packaging and Installing Applications-P1 docx

Tài liệu Creating Applications with Mozilla-Chapter 6. Packaging and Installing Applications-P1 docx

... Mozilla-based applications. Example 6-4. manifest.rdf describing the XMLTerm extension <?xml version="1.0"?> <RDF:RDF xmlns:RDF="http://www.w3.org/1999/ 02/ 22- rdf-syntax-ns#" ... installed 6 .2. 2 .2. Registering packages as you develop them (installed- chrome.txt) The file installed-chrome.txt is a convenience for developers who want to create and test...

Ngày tải lên: 14/12/2013, 12:15

24 358 0
Tài liệu Creating Applications with Mozilla-Chapter 6. Packaging and Installing Applications-P2 ppt

Tài liệu Creating Applications with Mozilla-Chapter 6. Packaging and Installing Applications-P2 ppt

... http://books.mozdev.org/examples/xfly.xpi 06 /28 /20 02 19: 12: 59 Install xFly (version 0.0.1) [1/4] Installing: C:\MOZILLA\BIN\chrome\xfly.jar [2/ 4] Register Content: jar:resource:/chrome/xfly.jar!/content/ ... logged in install.log: ** Line: 4 redeclaration of const X_JAR_FILE Install **FAILED** with error -22 9 07/01 /20 02 11:47:53 A full list of error codes can...

Ngày tải lên: 14/12/2013, 12:15

23 354 0
w