Ericsson R380 manual Pizza Penguin Example

Page 23

THE PIZZA PENGUIN EXAMPLE

Below is a complete WML code listing from a WAP demonstration application. The examples in the previous chapters were mainly selected from this application.

<?xml version="1.0"?>

<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">

<wml>

<card id="first" title="Pizza Penguin" newcontext="true"> <onevent type="ontimer">

<go href="#second"/> </onevent>

<timer value="70"/>

<p>

<table align="cc" columns="2"> <tr>

<td>

<a href="#second"><img alt="Penguin" src="bigpenguin.gif" hspace="4" vspace="3" width="88" height="88"/></a></td>

<td>

<br/><b><big><a href="#second">Welcome</a></big></b><br/> to<br/>

The Mobile Way of Ordering Pizza.<br/><br/> <a href="#fifth">[Contact Us]</a></td>

</tr>

</table>

</p>

</card>

<card id="second" title="Order">

<p>

<b>Select Pizza</b> <select title="Type">

<option>Cappriciosa</option> <option>Quatro Staggioni</option> <option>Margherita</option> <option>Campagnola</option> <option>Siciliana</option>

</select>

<a href="#pizzainfo">What's On</a> </p>

<p>

<b>Select Size</b> <select title="Size">

<option>Large</option>

<option>Medium</option>

<option>Small</option>

</select>

</p>

21

Image 23 Contents
Mobile Phone R380 Design Guidelines For WAP Services Page Contents Related Publications Overview of ContentsPreface Who Should Read this Guide?Definitions TerminologyAbbreviations General Usability Aspects Card Title Bar User Interface IssuesBrowser Display Browser AreaToolbar On-screen KeyboardNavigating Font Size and Font Style Using TextDesign Components Line break example Line Spacing and Line BreaksText formatting example Paragraph example ParagraphsFieldset example Indented ParagraphsMultiple Using Select ListsCard Title Bar Single Choice ListsAn example of a single choice list Multiple Choice ListsOption element An example of a multiple choice list Using ButtonsOptgroup element Do example Using Input FieldsLabel TypeAn input example Using ImagesValue Hspace AltSrc VspaceHyperlink example Using HyperlinksAn image example An image hyperlink example Using Images as HyperlinksUsing Tables Polar Weather table example Align ColumnsPizza Penguin table example Pizza Penguin Example
Related manuals
Manual 7 pages 50.51 Kb Manual 25 pages 11.38 Kb