[OPEN-ILS-DEV] commenting out elements in xul

Jason Etheridge jason at esilibrary.com
Fri May 22 22:32:51 EDT 2009


> Thanks guys,
> Trying it in the VM first... Apparently the wrong spot unless the "Local Catalog" behaves differently.

IIRC your issue correctly, I think you're wanting to hide the search
result summary information (because of the way it behaves when a whole
lot of z39.50 targets have been selected).

In that case, try tweaking this:

<hbox id="result_message" />

to become:

<hbox id="result_message" hidden="true" />

What's happening is the javascript is creating <description/> elements
and dynamically shoving them inside that hbox as children.  An
alternative to hiding it may be to give it some fixed dimensions and
set it overflow with scrollbars.

<hbox id="result_message" class="my_overflow" style="width: 800px" />

May also want to try it as a vbox.

<vbox id="result_message" class="my_overflow" style="height: 30px" />

Specifying style attributes like that is supposed to be bad, so you
could also put this into server/skin/global.css like so:

.z3950_result_messages { height: 30px; }

And then do

<vbox id="result_message" class="my_overflow z3950_result_messages" />

-- 
Jason Etheridge
 | VP, Community Support and Advocacy
 | Equinox Software, Inc. / The Evergreen Experts
 | phone:  1-877-OPEN-ILS (673-6457)
 | email:  jason at esilibrary.com
 | web:  http://www.esilibrary.com


More information about the Open-ils-dev mailing list