logo
WXT, a Web and Xml Tool
from Ostfold College
: Introduction > Documentation > The PIs >Group TOC

PI: tocgroup

The purpose is to set up a TOC of all, or some of the, pages in a group.

<?_wxt tocgroup cols="" lo="" hi="" left="" right="" divider=""?>

The parameters are:

cols (optional) Number of columns. Default is "3".
lo (optional) A numeric value that defines the lowest level of the pages that should be included. Default is "1".
hi (optional) A numeric value that defines the greatest level of the pages that should be included. Default is "3".
left (optional) A string that will appear left of all entries. Default is the empty string.
right (optional) A string that will appear right of all entries. Default is the empty string.
divider (optional) A string that will appear between all entries. Default is the empty string.
target (optional) To facilitate use of frames on a webpage. The refreneced entries will be opened in this frame.

A typical tocgroup PI will look like:

<?_wxt tocgroup cols="2" lo="1" hi="4"?>

The involved style-classes are of the form: tocgroup-n and tocgroup-an. n is a number greater or equal to 0, and indicates the level of the page. 0 is used when parameter cols is 0. a is used for the active, current page. See Styling

WXT, a Web and Xml Tool from Ostfold College: http://www.ia.hiof.no/~borres/wxtdoc/


Bygget med WXT : 11.jan.2009