Choose a style: Default Greenstone, Blue, Red, Printer, None

Search in text for of the words  

 

About this collection

This collection demonstrates Greenstone's use of Cascading Style Sheets (CSS) for visual formatting in web browsers. (Greenstone uses CSS instead of HTML tables since version 2.63.) On every page, you can change the style-sheet in effect, to modify that page's appearance.

This collection contains the same material as the original Greenstone demo collection.

An extra.dm macro file is used by the collection to provide the stylesheet switching. This redefines a few macros from the Style package: _cssheader_, to link to multiple stylesheets; _optnavigationbar_, to display the links to click; and _pagescriptextra_, to facilitate the switching when a link is clicked.

The documents in the collection are the configuration file, the extra.dm file and all the stylesheets.

If you want to download any of these stylesheets for your own collections, here are links to them:

Using a downloaded stylesheet

  • To use a stylesheet as the default, place it in greenstone/images and rename it to style.css. This will affect all collections.
  • To use a stylesheet for a particular collection, place it in the collection's images directory, add an extra.dm file to the collection's macros directory, and add a macro like the following (this uses style-red.css as the example):

    package Style

    _cssheader_ {
    <link rel='stylesheet' href='_httpcimages_/style-red.css'
      type='text/css' title='Fire Red' charset='UTF-8'>
    }

How to find information in the Cascading Style Sheets
Demo collection collection

There are 2 ways to find information in this collection:

  • search for particular words that appear in the text by clicking the Search button
  • browse documents by Title by clicking the Titles button