File:  [mozdev] / calendarhelp / www / open.xul
Revision 1.2: download - view: text, annotated - select for diffs - revision graph
Tue Mar 29 10:57:51 2005 UTC (14 years, 4 months ago) by whiteley
Branches: MAIN
CVS tags: HEAD
test

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

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