Re: [greenstone-users] Reg. Navigation bar buttons

From Katherine Don
DateFri, 07 Oct 2005 09:59:16 +1300
Subject Re: [greenstone-users] Reg. Navigation bar buttons
In-Reply-To (20051005192717-39200-qmail-web33813-mail-mud-yahoo-com)
Hi Rowdy

The navigation bar buttons are predefined images.

One option is to regenerate the images to look the way you want, then
edit the macro files and change the widths that are specified there, and
change the 17 macro in base.dm.

e.g. in english.dm, this defines the set of images for the Title button,
and specifies the width of the image

## "titles a-z" ## nav_bar_button ## ttitl ##
_httpiconttitlegr_ {/gsdl/web/images/ttitlgr.gif}
_httpiconttitleof_ {/gsdl/web/images/ttitlof.gif}
_httpiconttitleon_ {/gsdl/web/images/ttitlon.gif}
_widthttitlex_ {87}

Alternatively, you could fiddle with the _gsimage_ macro in base.dm -
try adding in width and height attributes to the img tag. You may want
to make the width an extra argument so it can be customised to the button.
The green images are defined in eg _icontabTitlegreen_ in base.dm - add
a new height attribute in here.

Regards,
Katherine


Rowdy Reptile wrote:
> Hello everyone,
>
> I have a digital image library collection and four
> buttons:
>
> search
> browse
> authors a-z
> Button4
>
> i'd like to increase the height and width of the
> navigation bar so that the text on the image buttons
> is more clearly visible. What macros i need to tweak
> with.
>
> Thank you in advance. really appreciate all your help
> and advice
>
>
>
>
> __________________________________
> Yahoo! Mail - PC Magazine Editors' Choice 2005
> http://mail.yahoo.com
>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>
>