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

PI: toctrail

The purpose is to set up a trail of references showing the ancestors of the current page.

<?_wxt toctrail cols="" divider="" left="" right=""?>

The parameters are:

cols (optional) Number of columns. Default is "0", which sets up a line.
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.

A typical toctrail PI will look like:

<?_wxt toctrail divider=" > "?>

The only two involved style-classes are: toctrail-0 and toctrail-a0. 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