SeaMonkey:Toolkit Transition:PrefwindowPanes:HowTo: Difference between revisions

Jump to navigation Jump to search
m
No edit summary
Line 54: Line 54:
             script="chrome://communicator/content/pref/pref-navigator.js">
             script="chrome://communicator/content/pref/pref-navigator.js">


* The ''id'' of the <prefpane> must the value of the ''prefpane'' attribute of the <treeitem> (see above).
* The ''id'' of the <prefpane> must be the value of the ''prefpane'' attribute of the <treeitem> (see above).
* The ''label'' should have the same value as the the old <page>.''headertitle'' attribute. It will be shown above the panel.
* The ''label'' should have the same value as the the old <page>.''headertitle'' attribute. It will be shown above the panel.
* The ''script'' attribute contains a whitespace delimited list of chrome URIs of the script files to be loaded into the panel's(!) scope. This means that the contents of these scripts will be accessible as members of the <prefpane> object, eg. ''document.getElementById("navigator_pane").Startup()''.
* The ''script'' attribute contains a whitespace delimited list of chrome URIs of the script files to be loaded into the panel's(!) scope. This means that the contents of these scripts will be accessible as members of the <prefpane> object, eg. ''document.getElementById("navigator_pane").Startup()''.
Confirmed users
283

edits

Navigation menu