[Cover] [Previous Section] [Next Section] [Index]

Current chapter: HDML Statement Reference
Section 24 out of 35 total sections , Section 8 out of 12 sections in this chapter


<DISPLAY>

Display cards display formatted text. To define a display card, you use a <DISPLAY> statement.



Syntax

<DISPLAY  

Beginning of the display header.  

  NAME=card_name  

A name for the card. Other cards can specify this name as a destination. 

  TITLE=card_title  

The default bookmark name that appears when the user marks the card. 

  MARKABLE=boolean  

Flag specifying whether the card can be marked. To allow the card to be marked, specify TRUE. The default value is determined by the MARKABLE option for the deck (see <HDML>).  

Always set the MARKABLE option to FALSE for cards that execute or confirm transactions that the user might not want to repeat.  

If you set the MARKABLE option to TRUE, it implicitly sets the PUBLIC option to TRUE, allowing other URLs to link directly to the card. 

  BOOKMARK=mark_URL  

The URL the phone adds to the bookmark list if the user marks the card. If you do not specify the BOOKMARK option, the phone adds the URL of the current card to the bookmark list. 

>  

End of the display header.  

actions  

The actions to execute when the user presses a function key. For more information on specifying actions, see <ACTION>

text  

The formatted text the card displays. For more information on specifying formatted text, see Formatted text

</DISPLAY>  

The display footer. 


Examples

The following HDML deck displays the card shown in Figure 2-8:

FIGURE  2-8.     Display card


[Cover] [Previous Section] [Next Section] [Index]

Current chapter: HDML Statement Reference
Section 24 out of 35 total sections , Section 8 out of 12 sections in this chapter


Copyright © 1999, Unwired Planet, Inc. All rights reserved.