]> git.evergreen-ils.org Git - working/Evergreen.git/commit - Open-ILS/xul/staff_client/server/skin/global.css
XBL for a <help> widget. It will try to load help content from various static and...
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 12 Apr 2010 21:40:54 +0000 (21:40 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 12 Apr 2010 21:40:54 +0000 (21:40 +0000)
commit4ca42d35f332b3c0b2167c14947b995cb4b7b2dc
tree5cb12e26141223850c69ec6c874b13e937ab488d
parentc8b4d2f9d38183129945b887622e32de7fafcbd3
XBL for a <help> widget.  It will try to load help content from various static and dynamic URL's, stopping
at the first one that it finds.  If for example, I were to add this to /xul/server/patron/display.xul:

    <help id="bar" src="foo.html" />

We would get a "Help" button that if clicked would then it would test these locations:

    foo.html (if @foo not set, then custom_help.html)
    /xul/server/patron/display.xul.help.html
    /xul/server/patron/help.html
    /xul/server/help.html
    /xul/help.html
    /help.html

and since @id is defined, it would also tack on ?id=bar (for log tracking and/or dynamic use by the content).

It will open the location in a non-modal pop-up window.  Navigation buttons not included.

MAYBE TODO:
    Add an @anchor for dynamically appending a hash component to each URL tested.
    Implement a browser with Back/Forward/Search/Index functionality.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16220 dcc99617-32d9-48b4-a31d-7c20da2025e4
Open-ILS/xul/staff_client/chrome/content/main/bindings.xml
Open-ILS/xul/staff_client/chrome/skin/global.css
Open-ILS/xul/staff_client/server/skin/global.css