20 (29)
a short form of the <anchor> element, and is bound to a go task without variables. In general it is
advisable to use the <a> element instead of <anchor> where possible, to allow more efficient
tokenisation.
In Example 4-5 there is a text link and an image link to another card in the deck. The user activates a
link by selecting the link. Anchored links are as underlined, and when selected are seen with a highlight
emphasis.
Figure 4-10 Links can be text or image
Example 4-5
<wml>
<template>
<do type="previous" label="Back" optional="false">
<prev/>
</do>
</template>
<card id="card1" title="Link">
<p align="left">
A link can be
<anchor>text
<go href="#card2"/>
</anchor>or an image
</p>
<p align="center">
<anchor>
<img alt="part cldy" src="file://…/partcldy.wbmp"/>
<go href="#card2"/>
</anchor>
</p>
</card>
<card id="card2" title="Link2">
<p align="left">
Did you know that in the Nokia 6210 links can be placed
inside a table as well!
</p>
</card>
</wml>