xul1.0 fixes for help window, plus clean-up, NOT PART OF BUILD
git-svn-id: svn://10.0.0.236/trunk@90547 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
1c31cb4967
commit
35001657b4
@ -12,4 +12,14 @@
|
||||
chrome:name="help">
|
||||
</RDF:Description>
|
||||
|
||||
<!-- Declare overlay points used in this package -->
|
||||
<RDF:Seq about="urn:mozilla:overlays">
|
||||
<RDF:li resource="chrome://communicator/content/utilityOverlay.xul"/>
|
||||
</RDF:Seq>
|
||||
|
||||
<!-- Define the local overlay file(s) for each overlay point -->
|
||||
<RDF:Seq about="chrome://communicator/content/utilityOverlay.xul">
|
||||
<RDF:li>chrome://help/content/helpMenuOverlay.xul</RDF:li>
|
||||
</RDF:Seq>
|
||||
|
||||
</RDF:RDF>
|
||||
|
||||
@ -35,10 +35,11 @@ function init()
|
||||
|
||||
if (window.location.search) {
|
||||
loadURI(key[window.location.search]);
|
||||
selectTOC(key[window.location.search]);
|
||||
// selectTOC(key[window.location.search]);
|
||||
|
||||
} else {
|
||||
goHome();
|
||||
}
|
||||
}
|
||||
|
||||
function selectTOC(link_attr) {
|
||||
|
||||
@ -26,7 +26,7 @@
|
||||
id="helpToolbar"
|
||||
grippytooltip="aTooltip"
|
||||
grippytooltiptext="The Help Toolbar"
|
||||
tbautostretch="always"
|
||||
tbautostretch="always"
|
||||
persist="collapsed">
|
||||
|
||||
<button id="helpBackButton"
|
||||
@ -64,9 +64,9 @@
|
||||
|
||||
<box orient="vertical" id="help-subset">
|
||||
<!-- these we will want to clean up or style better -->
|
||||
<text value="&t1.label;"/>
|
||||
<text value="&t2.label;"/>
|
||||
<text value="&t3.label;"/>
|
||||
<text label="&t1.label;"/>
|
||||
<text label="&t2.label;"/>
|
||||
<text label="&t3.label;"/>
|
||||
</box>
|
||||
|
||||
<tabcontrol orient="vertical" flex="1">
|
||||
|
||||
@ -6,14 +6,14 @@
|
||||
|
||||
<menupopup id="helpPopup">
|
||||
<menuitem label="Mozilla Help System"
|
||||
oncommand="toOpenWindowByType('mozilla:help', 'chrome://help/content/help.xul');" />
|
||||
oncommand="toOpenWindowByType('mozilla:help', 'chrome://help/content/help.xul');" />
|
||||
|
||||
<!-- example: context-passing menuitem
|
||||
"key" object at top of help.js has key->document pairs
|
||||
note the cgi-like suffix of the url. help window's init() grabs it as
|
||||
window.location.search -->
|
||||
<!--menuitem label="Gimme Mail!"
|
||||
oncommand="toOpenWindowByType('mozilla:help', 'chrome://help/content/help.xul?mail');" /-->
|
||||
<!-- example: context-passing menuitem
|
||||
"key" object at top of help.js has key->document pairs
|
||||
note the cgi-like suffix of the url. help window's init() grabs it as
|
||||
window.location.search -->
|
||||
<!--menuitem label="Gimme Mail!"
|
||||
oncommand="toOpenWindowByType('mozilla:help', 'chrome://help/content/help.xul?mail');" /-->
|
||||
</menupopup>
|
||||
|
||||
</overlay>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user