Category:Example code: Difference between revisions
From MozillaZine Knowledge Base
Jump to navigationJump to search
(moving "*Reading and Writing XML to and from DOM trees" to new XML section) |
(created new "XML Technologies in Mozilla" section) |
||
Line 24: | Line 24: | ||
*[[Dev : Extensions : Example Code : On Tab Load | Executing your code each time a page loads]] | *[[Dev : Extensions : Example Code : On Tab Load | Executing your code each time a page loads]] | ||
*[[Enumerating tabbrowser tabs|Enumerating tabbrowser tabs]] | *[[Enumerating tabbrowser tabs|Enumerating tabbrowser tabs]] | ||
===XML Technologies in Mozilla=== | |||
*[[How to Create DOM Trees]] | |||
*[[Using XMLHttpRequest]] | |||
*[[Reading and Writing XML to and from DOM trees]] | |||
*[[Dev : Extensions : Example Code : Using XPath to query a DOM object | XPath Expressions]] | |||
*[[XSL Transforms]] | |||
*[[XLink]] | |||
===Other=== | ===Other=== | ||
*[[Dev : Extensions : Example Code : Opening a new browser window|Opening a new browser window]] | *[[Dev : Extensions : Example Code : Opening a new browser window|Opening a new browser window]] | ||
*[[Dev : Extensions : Example Code : Inserting text at cursor | Inserting text at cursor]] | *[[Dev : Extensions : Example Code : Inserting text at cursor | Inserting text at cursor]] | ||
*[[Dev : Extensions : Example Code : Creating a XUL mailto: link | Creating a XUL mailto: link]] | *[[Dev : Extensions : Example Code : Creating a XUL mailto: link | Creating a XUL mailto: link]] | ||
===Techniques=== | ===Techniques=== |
Revision as of 03:34, 10 March 2005
- Up to Category:Development
Articles in this category demonstrate the code to do certain things in Mozilla-based products (at this moment, mostly for use in extensions).
XUL
- Creating toolbar buttons
- Adding items to menus using overlays (talks about browser's context menu too)
- Creating dialog windows with XUL
Javascript
Commonly used techniques
- Using preferences. For the basics, see also the article on XulPlanet.
- How to log debug information to JavaScript Console.
- Javascript Preferences Class
XPCOM
- Performing file IO
- Using observers for cross-window notifications
- Running applications
- Using file choosers (Open, Save, Select Directory dialogs)
XML Technologies in Mozilla
- How to Create DOM Trees
- Using XMLHttpRequest
- Reading and Writing XML to and from DOM trees
- XPath Expressions
- XSL Transforms
- XLink
Other
Techniques
- Differential inheritance in JavaScript using
__proto__
The alphabetical list of all articles and subcategories in this category follows.
Pages in category "Example code"
The following 8 pages are in this category, out of 8 total.