home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0"?>
-
- <?xml-stylesheet href="chrome://communicator/skin/help.css" type="text/css"?>
- <?xml-stylesheet href="chrome://navigator/skin" type="text/css"?>
- <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
- <?xul-overlay href="chrome://global/content/globalOverlay.xul"?>
- <?xul-overlay href="chrome://communicator/content/contentAreaContextOverlay.xul"?>
- <?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?>
- <?xul-overlay href="chrome://communicator/content/viewZoomOverlay.xul"?>
- <?xul-overlay href="chrome://navigator/content/platformNavigationBindings.xul"?>
-
- <!DOCTYPE window [
- <!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
- %brandDTD;
- <!ENTITY % helpDTD SYSTEM "chrome://help/locale/help.dtd" >
- %helpDTD;
- <!ENTITY % navigatorDTD SYSTEM "chrome://navigator/locale/navigator.dtd" >
- %navigatorDTD;
- ]>
-
-
- <window id="moz__help"
- windowtype="mozilla:help"
- xmlns:html="http://www.w3.org/TR/REC-html40"
- xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
- title="&helpWin.ttl;"
- width="640"
- height="650"
- persist="width height screenX screenY"
- onload="init();" >
-
- <script type="application/x-javascript" src="chrome://help/content/help.js"/>
- <script type="application/x-javascript" src="chrome://navigator/content/sessionHistoryUI.js"/>
- <script type="application/x-javascript" src="chrome://global/content/nsDragAndDrop.js"/>
- <script type="application/x-javascript" src="chrome://communicator/content/contentAreaDD.js"/>
- <script type="application/x-javascript" src="chrome://global/content/nsTransferable.js"/>
- <script type="application/x-javascript" src="chrome://communicator/content/contentAreaClick.js"/>
- <script type="application/x-javascript" src="chrome://communicator/content/bookmarks/bookmarksOverlay.js"/>
- <script type="application/x-javascript" src="chrome://communicator/content/findUtils.js"/>
- <script type="application/x-javascript" src="chrome://global/content/nsJSSupportsUtils.js"/>
-
- <popupset id="aTooltipSet">
- <popup id="backMenu" position="after_start" onpopupshowing="return createBackMenu(event);" oncommand="gotoHistoryIndex(event);"/>
- <popup id="forwardMenu" position="after_start" onpopupshowing="return createForwardMenu(event);" oncommand="gotoHistoryIndex(event);"/>
- </popupset>
- <popupset id="contentAreaContextSet"/>
- <broadcasterset id="helpBroadcasters">
- <broadcaster id="canGoBack" disabled="true"/>
- <broadcaster id="canGoForward" disabled="true"/>
- </broadcasterset>
- <commandset id="globalEditMenuItems"/>
- <commandset id="selectEditMenuItems">
- <command id="cmd_undo"/>
- <command id="cmd_redo"/>
- <command id="cmd_cut"/>
- <command id="cmd_copy"/>
- <command id="cmd_paste"/>
- <command id="cmd_delete"/>
- <command id="cmd_selectAll"/>
- <command id="cmd_close" oncommand="close();"/>
- <command id="Browser:Home" oncommand="goHome();"/>
- <command id="Browser:Back" oncommand="goBack();" observes="canGoBack"/>
- <command id="Browser:Forward" oncommand="goForward();" observes="canGoForward"/>
- <command id="cmd_copyLink"/>
- <command id="cmd_copyImageLocation"/>
- <command id="cmd_copyImageContents"/>
- </commandset>
- <commandset id="clipboardEditMenuItems"/>
- <commandset id="viewZoomCommands"/>
- <keyset id="keys">
- <key id="key_close"/>
- <key id="printKb" key="&printCmd.commandkey;" oncommand="print();" modifiers="accel"/>
- <keyset id="viewZoomKeys"/>
- <keyset id="navigationKeys"/>
- <key id="key_find" key="&findOnCmd.commandkey;" oncommand="find(false);" modifiers="accel"/>
- <key id="key_findAgain" key="&findAgainCmd.commandkey;" oncommand="find(true);" modifiers="accel"/>
- <key id="key_viewSource" key="&pageSourceCmd.commandkey;" oncommand="BrowserViewSource();" modifiers="accel"/>
- <key id="key_viewInfo" key="&pageInfoCmd.commandkey;" oncommand="BrowserPageInfo();" modifiers="accel"/>
- </keyset>
- <stringbundle id="bundle_viewZoom"/>
- <stringbundle id="findBundle" src="chrome://global/locale/finddialog.properties"/>
-
- <vbox flex="1">
-
- <!-- button bar -->
- <toolbox id="help-toolbox" class="toolbox-top" deferattached="true">
- <toolbar class="toolbar-primary"
- id="helpToolbar"
- grippytooltip="aTooltip"
- grippytooltiptext="The Help Toolbar"
- tbalign="stretch"
- persist="collapsed">
-
- <menubutton id="helpBackButton" label="&backBtn.label;" tooltiptext="&backButton.tooltip;"
- oncommand="gotoHistoryIndex(event);" buttonaction="goBack();" context="backMenu"
- class="menubutton-dual top" crop="right" tooltip="aTooltip" observes="canGoBack">
- <menupopup context="" onpopupshowing="createBackMenu(event);"/>
- </menubutton>
- <menubutton id="helpForwardButton" label="&fwdBtn.label;" tooltiptext="&forwardButton.tooltip;"
- oncommand="gotoHistoryIndex(event);" buttonaction="goForward();" context="forwardMenu"
- class="menubutton-dual top" crop="right" tooltip="aTooltip" observes="canGoForward">
- <menupopup context="" onpopupshowing="createForwardMenu(event);"/>
- </menubutton>
- <button id="helpHomeButton"
- class="button-toolbar-1 top"
- label="&homeBtn.label;"
- tooltiptext="&homeBtn.tooltip;"
- tooltip="aTooltip"
- oncommand="goHome();"/>
-
- <spring flex="1"/>
-
- <button id="print" class="button-toolbar-1 top" label="&printButton.label;"
- tooltip="aTooltip" tooltiptext="&printButton.tooltip;" oncommand="print();"/>
-
- </toolbar>
- </toolbox>
-
-
- <!-- the two help panes (sidebar & content) -->
- <hbox flex="1">
-
- <vbox id="helpsidebar-box">
- <separator class="thin"/>
- <tabbox orient="vertical" flex="1">
- <tabs orient="horizontal">
- <tab label="&tab1.label;"/>
- <tab label="&tab2.label;"/>
- </tabs>
- <tabpanels flex="1">
- <hbox id="help-toc">
- <tree id="help-toc-tree" ref="urn:root" flex="1*"
- datasources="chrome://help/locale/help-toc.rdf"
- containment="http://home.netscape.com/NC-rdf#subheadings"
- onselect="loadURI(this.selectedItems[0].firstChild.firstChild.getAttribute('helplink'));">>
- <template>
- <rule>
- <conditions>
- <content uri="?uri"/>
- <triple subject="?uri"
- predicate="http://home.netscape.com/NC-rdf#subheadings"
- object="?subheadings" />
- <member container="?subheadings" child="?subheading"/>
- </conditions>
- <bindings>
- <binding subject="?subheading"
- predicate="http://home.netscape.com/NC-rdf#name"
- object="?name" />
-
- <binding subject="?subheading"
- predicate="http://home.netscape.com/NC-rdf#link"
- object="?link" />
- </bindings>
-
- <action>
- <treechildren>
- <treeitem uri="?subheading">
- <treerow>
- <treecell class="treecell-indent"
- label="?name"
- helplink="?link"/>
- </treerow>
- </treeitem>
- </treechildren>
- </action>
- </rule>
- </template>
-
- <treecolgroup>
- <treecol flex="1*" />
- </treecolgroup>
-
- <!-- because the outermost treechildren needs "flex='1'" -->
- <treechildren flex="1*"/>
-
- </tree>
- </hbox>
-
- <hbox id="help-index">
- <!-- right now this makes the toc as wide as the content area -->
- <iframe flex="1" style="min-width: 0px; width: 0px;"
- src="chrome://help/locale/help_index.html" />
- </hbox>
-
- </tabpanels>
- </tabbox>
- </vbox>
-
- <splitter id="helpsidebar-splitter"
- collapse="before"
- persist="state hidden"
- autostretch="never"
- orient="vertical"
- state="open">
- <grippy/>
- </splitter>
-
- <!-- this stuff lifted from navigator.xul -->
- <vbox id="appcontent" flex="3">
- <!-- this box is temporary, pending XBLified <browser> -->
- <hbox id="browser" flex="1">
- <!-- type attribute is used by frame construction to locate iframes
- intended to hold (html) content -->
- <browser context="contentAreaContextMenu" type="content-primary" id="help-content"
- src="about:blank" flex="1"
- ondraggesture="nsDragAndDrop.startDrag(event, contentAreaDNDObserver);"
- onclick="return contentAreaClick(event);"/>
- </hbox>
- </vbox>
- </hbox>
- </vbox>
- </window>
-