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

PI: tocsiblings

The purpose is to set up a TOC of all siblings.

<?_wxt tocsiblings cols="" divider="" left="" right="" thumb=""?>

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.
thumb (optional) If the value is "yes", the children are represented by their thumbs as defined in the script.
target (optional) To facilitate use of frames on a webpage. The refreneced entries will be opened in this frame.

A typical toctchildren PI will look like:

<?_wxt tocsiblings left="[" right="]"?>

The only two involved style-classes are: tocsiblings-0 and tocsiblings-a0, where a is for the 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