Ericsson R380 Car Speaker User Manual


 
21
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>