Genie 7110 Garage Door Opener User Manual


 
February 2001 Genie Application Style Guide 23
Navigation Guidelines
3
Use up to 18 characters on option labels.
Since <do> labels are items under the Options softkey, labels can be approximately
18 characters long. Limit labels to one or two words.
Example 3-11
Nokia 7110 Browser
<do type="accept" label="New Contact">
<go href="newctct.wml"/>
</do>
In Example 3-11 the menu item “New Contact” can replace New in applications
searching a database of information because the label is displayed under the
Options softkey.
Never define an action of go or noop to the prev task.
The Nokia browser will not activate the right softkey. The action will be accessible
only under the Options softkey. To control how the application behaves when the
<prev> action is invoked, use a “shadow” card that contains an
<onevent type="onenterbackward"> element.
Example 3-12
<wml>
<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 3-12 works by defining a dummy card (id="start") that immediately
transfers control to the real card (
id="start2") and puts itself on the history stack.
Entering the card from a backward direction triggers the
onenterbackward, thus
loading
backtome.wml.
It is not necessary to define a label for a <do type="prev">.
The Nokia 7110 browser assigns the label Back to the right softkey and ignores the
defined label.
Last name:
[Smith]
First name:
[Andrew]
Options
Back
City & State:
[San Diego, CA]
--------Contacts-------
------
Options items:
New Contact
Done