Re: [greenstone-users] Navigation Bar width and distorting tsubjgr.gif

From Katherine Don
DateWed, 20 Jul 2005 09:25:32 +1200
Subject Re: [greenstone-users] Navigation Bar width and distorting tsubjgr.gif
In-Reply-To (s2dcc96e-008-westyorksfire-gov-uk)
Hi Jonathan

> I am customising the interface of Greenstone v2.60. I have two questions regarding the navigation bar:
>
> 1) How do I control the width the of the navigation bar? I have left justified everything else and want to reduce the width of the navigation bar to enable display on a screen of 800x600.

The navigation bar width is set to 537 if possible. All the
buttons have widths defined in macros, eg _widthSearch_ (base.dm), which
is set to _widthtsrchx_ (english.dm). When generating the page, the
library adds up the widths of all the buttons to be placed on the
navigation bar, then works out how big the spacer image should be to pad
the buttons out to 537. Changing 537 should change the
length of the bar.

>
> 2) The navigation bar button images ending in 'gr' such as tsubjgr.gif have started displaying larger than they should and therefore distorting the text. The 'of' and 'on' buttons display normally!
>
Strange. All buttons should have their width set to the same value. Have
a look at the html page source - are the image widths the same in both
cases? In which case it could be a browser problem.

Cheers,
Katherine