From | Jonathan Tremblay |
Date | Wed, 22 Jun 2005 11:43:50 -0500 |
Subject | Re: [greenstone-users] CSS help AND Style sheet |
Hi June,
> What if I want to use stylesheet for classifier
I guess that you're not talking about the actual buttons (which are images), but rather the pages linked to those buttons. To change those pages, you will first need to set your desired class into your stylesheet. For example:
Then in your collect.cfg file, you will create tags (such as <div> or <span>) that will use your class in every desired format strings. For example:
If it's not enough to change all the desired text, you will have to modify some functions in the macros folder. This is a bit more confusing, but it can be done! Good luck, Jonathan Tremblay ----- Original Message -----
>
> >>> <html> > >>> <head> > >>> <title>GSDL Error</title> > >>> > >>> </head> > >>> > >>> <body bgcolor="#ffffff" text="#000000" link="#006666" > >>> alink="#cc9900" vlink="#666633" _1_> > >>> } > >>> > >>> You will have to add this line between <head> and </head> in the > >>> function : > >>> <link rel="stylesheet" href="/gsdl/web/images/YOURSTYLE.css" type="text/css"/> > >>> > >>> You should replace YOURSTYLE.css with the name of your stylesheet. > >>> In this example, the stylesheet file must be in the greenstoneimages > >>> folder. > >>> > >>> You can also take a look at the garish collection, available in the > >>> "Documented Example Collections (42MB)" file which can be downloaded from > >>> http://www.greenstone.org/cgi-bin/library?e=p-en-download-utfZz-8&a=p&p=down > >>> load Jonathan Tremblay > >>> > >>> > >>> -----Message d'origine----- > >>> De : greenstone-users-bounces@list.scms.waikato.ac.nz > >>> [mailto:greenstone-users-bounces@list.scms.waikato.ac.nz] De la part de > >>> June > >>> Yang > >>> Envoyé : 20 juillet 2005 12:23 > >>> À : greenstone-users@list.scms.waikato.ac.nz > >>> Objet : [greenstone-users] CSS help > >>> > >>> Hi all, > >>> > >>> I searched on this list about using CSS to format the pages and I came > >>> across one example below: > >>> http://srm-cd.niwi.knaw.nl/gsdl/cgi-bin/library.exe?a=p&p=home&l=en&w=utf-8 (click on the button says > >>> 1958-1980) > >>> I noticed that this site used external css files. My question is: where > >>> should these css files be put under gsdl directory and how to reference > >>> them in the documents? Since pages such as browse by title/subject were > >>> generated on the fly, I am kind of lost here. Can anybody help me with it? > >>> > >>> Thanks, > >>> > >>> June > >>> > >>> -----Message d'origine----- > >>> De : greenstone-users-bounces@list.scms.waikato.ac.nz > >>> [mailto:greenstone-users-bounces@list.scms.waikato.ac.nz] De la part de > >>> Henny Mariane Sutedjo > >>> Envoyé : 20 juin 2005 02:14 > >>> À : greenstone-users@list.scms.waikato.ac.nz > >>> Objet : [greenstone-users] Style sheet > >>> > >>> Hi Group, > >>> > >>> Does greenstone allow us to use style sheet? > >>> I have tried to use both method: embed the style sheet inside the Web page > >>> and use external style sheet. When I execute the Web page alone, it worked > >>> fine. But, when I uploaded the collection into Greenstone, both method were > >>> not working, there was no style adopted and all fonts went to normal (times > >>> new roman). Any help would be appreciated. Thanks. > >>> > >>> -henny > >>> > >>> > >>> _______________________________________________ > >>> greenstone-users mailing list > >>> greenstone-users@list.scms.waikato.ac.nz > >>> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users > >>> > >>> > >>> _______________________________________________ > >>> greenstone-users mailing list > >>> greenstone-users@list.scms.waikato.ac.nz > >>> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users > >>> > >>> > >>> > >> __________________________________________________ > >> Do You Yahoo!? > >> Tired of spam? Yahoo! Mail has the best spam protection around > >> 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 > > > > > > |