File:  [mozdev] / calendarhelp / www / open.xul
Revision 1.4: download - view: text, annotated - select for diffs - revision graph
Wed Mar 30 09:36:00 2005 UTC (14 years, 8 months ago) by whiteley
Branches: MAIN
CVS tags: HEAD
online tweaks (favicon, no home page when topic is specified)

    1: <?xml version="1.0" encoding="UTF-8"?>
    2: 
    3: <?xml-stylesheet href="chrome://help/skin/" type="text/css"?>
    4: <?xml-stylesheet href="chrome://help/skin/sidebar.css" type="text/css"?>
    5: 
    6: <!DOCTYPE window >
    7: 
    8: <window id="help"
    9: 	windowtype="mozilla:help"
   10: 	xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
   11: 	xmlns:html="http://www.w3.org/1999/xhtml"
   12: 	onload="init();">
   13: 
   14: <html:link rel="icon" href="page-icon.png" type="image/png"/>
   15: 
   16: <script type="application/x-javascript" src="open.js"/>
   17: 
   18: <vbox flex="1">
   19: 
   20: 	<hbox flex="1">
   21: 		<vbox id="helpsidebar-box" persist="width">
   22: 
   23: 			<html:a href="http://calendarhelp.mozdev.org/" style="text-decoration:none;">
   24: 				<hbox align="center" style="margin-bottom:1em; color:#777"
   25: 						onmouseover="this.style.color='#00f'"
   26: 						onmouseout="this.style.color='#777'">
   27: 					<image src="calhelp-small.png"/>
   28: 					<label id="calendarhelp-title" value="Calendar Help"
   29: 						style="font-weight:bold; font-size:167%; cursor:pointer;"/>
   30: 					</hbox>
   31: 				</html:a>
   32: 
   33: 			<!-- glossary panel -->
   34: 			<button id="help-glossary-btn"
   35: 				class="box-texttab texttab-sidebar"
   36: 				label="Glossary"
   37: 				oncommand="showPanel('help-glossary')"/>
   38: 			<tree id="help-glossary-panel" flex="1" hidecolumnpicker="true"
   39: 					hidden="true" datasources="en-US/glossary.rdf"
   40: 					containment="http://home.netscape.com/NC-rdf#subheadings"
   41: 					ref="urn:root"
   42: 					onselect="panelSelect(this);">
   43: 				<template>
   44: 					<rule>
   45: 						<conditions>
   46: 							<content uri="?uri"/>
   47: 							<triple subject="?uri"
   48: 								predicate="http://home.netscape.com/NC-rdf#subheadings"
   49: 								object="?subheadings"/>
   50: 							<member container="?subheadings"
   51: 								child="?subheading"/>
   52: 							</conditions>
   53: 						<bindings>
   54: 							<binding subject="?subheading"
   55: 								predicate="http://home.netscape.com/NC-rdf#name"
   56: 								object="?name"/>
   57: 							<binding subject="?subheading"
   58: 								predicate="http://home.netscape.com/NC-rdf#link"
   59: 								object="?link"/>
   60: 							</bindings>
   61: 
   62: 						<action>
   63: 							<treechildren>
   64: 								<treeitem uri="?subheading" link="?link">
   65: 									<treerow>
   66: 										<treecell label="?name"/>
   67: 										</treerow>
   68: 									</treeitem>
   69: 								</treechildren>
   70: 							</action>
   71: 						</rule>
   72: 					</template>
   73: 				<treecols>
   74: 					<treecol id="GlossaryNameColumn" flex="1"
   75: 						hideheader="true" primary="true"/>
   76: 					</treecols>
   77: 				</tree>
   78: 
   79: 			<button id="help-index-btn" class="box-texttab texttab-sidebar"
   80: 				label="Index"
   81: 				oncommand="showPanel('help-index');expandAllIndexEntries();"/>
   82: 
   83: 			<tree id="help-index-panel" flex="1" datasources="en-US/index.rdf"
   84: 					hidecolumnpicker="true" hidden="true"
   85: 					containment="http://home.netscape.com/NC-rdf#subheadings"
   86: 					ref="urn:root"
   87: 					onselect="panelSelect(this);">
   88: 				<template>
   89: 					<rule>
   90: 						<conditions>
   91: 							<content uri="?uri"/>
   92: 							<triple subject="?uri"
   93: 								predicate="http://home.netscape.com/NC-rdf#subheadings"
   94: 								object="?subheadings"/>
   95: 							<member container="?subheadings"
   96: 								child="?subheading"/>
   97: 							</conditions>
   98: 						<bindings>
   99: 							<binding subject="?subheading"
  100: 								predicate="http://home.netscape.com/NC-rdf#name"
  101: 								object="?name"/>
  102: 							<binding subject="?subheading"
  103: 								predicate="http://home.netscape.com/NC-rdf#link"
  104: 								object="?link"/>
  105: 							</bindings>
  106: 
  107: 						<action>
  108: 							<treechildren>
  109: 								<treeitem uri="?subheading" link="?link">
  110: 									<treerow>
  111: 										<treecell label="?name"/>
  112: 										</treerow>
  113: 									</treeitem>
  114: 								</treechildren>
  115: 							</action>
  116: 						</rule>
  117: 					</template>
  118: 				<treecols>
  119: 					<treecol id="IndexNameColumn" flex="1" hideheader="true"
  120: 						primary="true" sortActive="true"
  121: 						sortDirection="ascending" sort="?name"/>
  122: 					</treecols>
  123: 				</tree>
  124: 
  125: 			<button id="help-search-btn" class="box-texttab texttab-sidebar"
  126: 				label="Search"
  127: 				oncommand="showPanel('help-search')"
  128: 				hidden="true"/>
  129: 
  130: 			<vbox id="help-search-panel" hidden="true" flex="1">
  131: 				<hbox align="center">
  132: 					<textbox id="findText" flex="1" oninput="doEnabling();"
  133: 						onkeypress="if ((event.keyCode 
  134: 							== KeyEvent.DOM_VK_ENTER) || (event.keyCode
  135: 							== KeyEvent.DOM_VK_RETURN))
  136: 							doFind();"/>
  137: 					<button id="findButton" default="true" disabled="true"
  138: 						label="Go" oncommand="doFind()"
  139: 						flex="0"/>
  140: 					</hbox>
  141: 				<tree id="help-search-tree"
  142: 						flex="1" hidecolumnpicker="true"
  143: 						datasources="rdf:null"
  144: 						containment="http://home.netscape.com/NC-rdf#child"
  145: 						ref="urn:root"
  146: 						onselect="panelSelect(this);">
  147: 					<template>
  148: 						<rule>
  149: 							<conditions>
  150: 								<content uri="?uri"/>
  151: 								<member container="?uri"
  152: 									child="?subheading"/>
  153: 								</conditions>
  154: 
  155: 							<bindings>
  156: 								<binding subject="?subheading"
  157: 									predicate="http://home.netscape.com/NC-rdf#name"
  158: 									object="?name"/>
  159: 								</bindings>
  160: 
  161: 							<action>
  162: 								<treechildren>
  163: 									<treeitem uri="?subheading">
  164: 										<treerow>
  165: 											<treecell label="?name"/>
  166: 											</treerow>
  167: 										</treeitem>
  168: 									</treechildren>
  169: 								</action>
  170: 							</rule>
  171: 						</template>
  172: 
  173: 					<treecols>
  174: 						<treecol id="ResultsColumn" flex="1"
  175: 							hideheader="true" primary="true"
  176: 							sortActive="true" sortDirection="ascending"
  177: 							sort="?name"/>
  178: 						</treecols>
  179: 					</tree>
  180: 				</vbox>
  181: 
  182: 			<button id="help-toc-btn" class="box-texttab texttab-sidebar"
  183: 				label="Contents"
  184: 				oncommand="showPanel('help-toc')"/>
  185: 			<tree id="help-toc-panel" flex="1"  hidecolumnpicker="true"
  186: 					datasources="en-US/toc.rdf"
  187: 					containment="http://home.netscape.com/NC-rdf#subheadings"
  188: 					ref="urn:root"
  189: 					onselect="panelSelect(this);">
  190: 				<template>
  191: 					<rule>
  192: 						<conditions>
  193: 							<content uri="?uri"/>
  194: 							<triple subject="?uri"
  195: 								predicate="http://home.netscape.com/NC-rdf#subheadings"
  196: 								object="?subheadings"/>
  197: 							<member container="?subheadings"
  198: 								child="?subheading"/>
  199: 							</conditions>
  200: 
  201: 						<bindings>
  202: 							<binding subject="?subheading"
  203: 								predicate="http://home.netscape.com/NC-rdf#name"
  204: 								object="?name"/>
  205: 							<binding subject="?subheading"
  206: 								predicate="http://home.netscape.com/NC-rdf#link"
  207: 								object="?link"/>
  208: 							</bindings>
  209: 
  210: 						<action>
  211: 							<treechildren>
  212: 								<treeitem uri="?subheading" link="?link">
  213: 									<treerow>
  214: 										<treecell label="?name"/>
  215: 										</treerow>
  216: 									</treeitem>
  217: 								</treechildren>
  218: 							</action>
  219: 						</rule>
  220: 					</template>
  221: 				<treecols>
  222: 					<treecol id="NameColumn" flex="1" hideheader="true"
  223: 						primary="true"/>
  224: 					</treecols>
  225: 				</tree>
  226: 
  227: 			</vbox>
  228: 
  229: 			<splitter id="helpsidebar-splitter" collapse="before"
  230: 					persist="state hidden" autostretch="never" state="open">
  231: 				</splitter>
  232: 
  233: 			<vbox id="appcontent" flex="3">
  234: 				<hbox id="browser" flex="1">
  235: 					<iframe id="help-content" src="" flex="1"/>
  236: 					</hbox>
  237: 				</vbox>
  238: 			</hbox>
  239: 		</vbox>
  240: </window>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>