4 | Menu Navigation |
|
■An anchor should have a descriptive label of five characters or fewer.
The label for links leading to the defined URL should be five characters or fewer. It is rendered as the softkey label.
■Allow users to perform multiple actions on a selected item.
An item does not need to be selected, only highlighted, before an action can be performed on the item. For example, an email application may display a list of email subjects as a menu. On Openwave browsers, the user should be able to view an item by highlighting the message and pressing the primary softkey, View. However, the user should also be able to reply to, delete, or file the highlighted item. This allows the user to delete the message while viewing the header information, instead of having to retrieve and read the message before deleting.
Example
<wml>
<head>
<meta name="vnd.up.markable" content="true" forua="true"/> </head>
<card>
<do type="accept" label="View">
<spawn href="?NS=view&U=$$(U:escape)&MB=$$(MB:escape)> <setvar name="U" value="$$(U:noesc)"/>
<setvar name="MB" value="$$(MB:noesc)"/> <setvar name="HO" value="0"/>
<setvar name="MIB" value="65540"/>
<catch name="redisplay" onthrow="$$(NEXT_DEST:unesc)"> <receive name="NEXT_DEST"/>
<receive name="MB"/> <receive name="II"/>
</catch>
<catch name="return"/> <catch/>
</spawn>
</do>
<do type="options" label="Menu">
<spawn href="?NS=hdrMenu&MB=$$(MB:escape)#$$(U:escape)"> <setvar name="U" value="$$(U:noesc)"/>
<setvar name="MB" value="$$(MB:noesc)"/> <setvar name="HO" value="0"/>
<setvar name="ZZ" value="1"/> <setvar name="MIB" value="65540"/>
<catch name="redisplay" onthrow="$$(NEXT_DEST:unesc)"> <receive name="NEXT_DEST"/><receive name="MB"/> <receive name="II"/>
</catch>
<catch name="return"/><catch/> </spawn>
</do>
<do type="delete">
<spawn href="?NS=del&U=$$(U:escape)&HO=0&MB=$$(MB:escape)" sen dreferer="true" onexit="$$(NEXT_DEST:unesc)">
<receive name="NEXT_DEST"/>
28 Genie Application Style Guide | February 2001 |