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

Grant Johnson fgjohnson at upei.ca
Sat May 23 09:27:17 EDT 2009


Hmm.. coding 101. Thanks

>>> On Fri, May 22, 2009 at 10:32 PM, in message
<1f3c053e0905221932s120fb4efp16cf73326f1f29fd at mail.gmail.com>, Jason Etheridge
<jason at esilibrary.com> wrote: 
>>  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" />




More information about the Open-ils-dev mailing list