In some cases HTMLiar can not provide a suitable predefined variable for all needs.
Therefore you can define your own variables and assign a value to them for each page.
Here are some samples of use:
Simplifying multiple use of text on one page
On the
samples page you can see many little star images.
The source code for this is:
<img src="star.gif" width="10" height="10"> .
To avoid typing that several times and to keep the text of the page small, I defined a variable
'§star§'. To this I assigned the <img...> as a value. So I can just use the name
of the variable (§star§) instead of the longer html tag.
Highlight revised pages
If you want to show which pages have been changed lately in the menu, you can define a variable (e.g. '§updated§')
and assign the value '_new') for the changed pages.
At the project options the menu items can be formatted differently using CSS:
<a href="§file§" class="link§updated§">§caption§</a>
In the layout the format for 'old' and 'revised' pages needs to be defined:
<style>
a.link {color:black;}
a.link_new {color:red;}
</style>