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

Grant Johnson fgjohnson at upei.ca
Tue Jun 2 10:41:39 EDT 2009


This was the best I could get.
Creates a verticle scroll box with the results set.

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


>> 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