Next Previous Up Top Contents Index

WebMaker User Guide

12.5.2 The header and footer of a node rule

The HEADER and FOOTER sections specify respectively what is to appear at the top and at the bottom of the node. This may include:

These are composed using predefined functions as building blocks. The functions of particular interest are:
button(string1, url, string2, class:classname)
filename(
node)
image(
url, keyword-args)
Tables of contents are provided by the function toc(depth, scope). This is then written out into an HTML file with a function call such as:
write(*,toc(4,global))
This may, for example, specify the heading of the upper section to appear at the beginning, or a signature for the document that is to appear at the end of each node. Any of the functions documented in Section 12.12, "Predefined functions" may be used to compose this information.

The HEADER and FOOTER are written into the HTML file of the node at creation and at closure of the node, respectively.