Backward Navigation | 7 |
Example
<template>
<do type="prev" label="Back"> <prev/>
</do>
</template>
<card id="start" onenterforward="#start2" onenterbackward="backtome.wml">
</card>
<card id="start2" title="The Start">
…
Example 7-1 shows how to prevent the user from navigating back through a card by catching the reverse entry into the card. In this case, the user is taken back an additional card.
■Always provide a label for a <do type="prev">.
The Nokia browser assigns the label Back instead of the defined label to the right softkey. If no label is defined, the label Back is automatically assigned to the right softkey. On some Mitsubishi Trium browsers, if a label is not defined, the right key will be labelled prev – which is not intuitive.
■Create a second way to navigate backward when moving back in the history stack is not desirable.
Provide backward navigation via <do type="options"> if backward navigation should return the user to a higher menu or the top menu of the application. Use the label Done to indicate that backward navigation will take the user back more than one step. The label Done appears on the secondary softkey on the Openwave browser and also under the Options softkey on the Nokia 7110 browser.
February 2001 | Genie Application Style Guide 41 |