gecko-dev/extensions/help/resources/content/test.xul

19 lines
1.1 KiB
XML
Executable File

<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xul-overlay href="chrome://global/content/globalOverlay.xul"?>
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
id="main" orient="vertical" title="Test Help" persist="screenX screenY width height sizemode">
<script type="application/x-javascript"
src="chrome://help/content/contextHelp.js"/>
<hbox flex="0">
<button label="Mozilla Help" onclick="setHelpFileURI('chrome://help/locale/mozillahelp.rdf');openHelp()" tooltip="aTooltip" tooltiptext="Mozilla Help"/>
<button label="Mozilla Mail Help" onclick="setHelpFileURI('chrome://help/locale/mozillahelp.rdf');openHelp('mail-doc')" tooltip="aTooltip" tooltiptext="Mail Help"/>
<button label="Test Help" onclick="setHelpFileURI('chrome://help/locale/testhelp.rdf');openHelp()" tooltip="aTooltip" tooltiptext="Test Help"/>
<button label="Test Mail Help" onclick="setHelpFileURI('chrome://help/locale/testhelp.rdf');openHelp('mail-doc')" tooltip="aTooltip" tooltiptext="Test Mail Help"/>
</hbox>
</window>