Writing a Mozilla Application with XUL and Javascript
  Installing Chrome [ << Previous | Next >> ]

  • For Makefile.in and makefile.win inside the Mozilla tree...
    • Set the CHROME_TYPE variable to the packages you have files for. For example, CHROME_TYPE = content locale skin
    • Other Make variables can be used to install your xul, js, css, dtd, and .properties files, see the CHROME_* variables in the Makefile.in under the ChatZilla directory.
  • From outside the Mozilla tree, write (append!) the following lines to a file called ``installed-packages.txt'' in the chrome directory...
     content,install,url,resource:/chrome/packages/chatzilla/
     locale,install,url,resource:/chrome/packages/chatzilla/
     skin,install,url,resource:/chrome/packages/chatzilla/
  • Provide a manifest.rdf file to tell Mozilla about your Chrome.

[ Presentation Overview | Agenda | XUL Documents | Summary of XUL Elements | XUL Document Example | XUL Document Screenshot | XUL Overlays | XUL Overlay Example | XUL Overlay Screenshot | RDF Data | RDF Graph Illustration | RDF and XUL Templates | XUL Template Example | XUL Template Example, Points of Interest | Conclusions | Extra Slides | RDF Data Sources | XPCOM and XPConnect | XPConnect Objects | Instantiating an XPCOM Component | Chrome structure | Installing Chrome | Sample manifest.rdf ]