<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//PHONE.COM//DTD WML 1.1//EN"
			"http://www.phone.com/dtd/wml11.dtd" > 


<!--  Timer example  -->
<!--  NOTE: Timers use 1/10 second intervals  -->

<wml>
    <card>
	<do  type="accept" label="Start">
	    <go  href="#wait"/>
	</do> 
	<p>
	    Enter wait time: 
	    <input  name="interval" format="*N"/>
	</p>
    </card>

    <card  id="wait" ontimer="#stop">
	<onevent  type="onenterbackward">
	    <prev/>
	</onevent>
	<timer  value="50" name="interval"/>
	<do  type="accept" label="Stop">
	    <go  href="#stop"/>
	</do> 
	<p>
	    Waiting for $interval tenths of a second... 
	</p>
    </card>

    <card  id="stop">
	<p>
	    Stopped! 
	</p>
    </card>
</wml>
