Home | History | Annotate | Download | only in wml
      1 <?xml version="1.0"?>
      2 <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
      3 <wml>
      4     <head>
      5         <meta http-equiv="Cache-Control" content="max-age=0"/>
      6     </head>
      7 
      8     <card id="card1" ontimer="#card2" title="Card one">
      9         <p>Test for card ontimer intrinsic event in WML</p>
     10         <timer name="time1" value="50"/>
     11         <p>
     12             This is card one<br/>
     13             The timer is triggered by the ontimer intrinsic event(ontimer as attribute of card element)<br/>
     14             When the timer is timeout(after 5s), will jump to card two.
     15         </p>
     16     </card>
     17 
     18     <card id="card2">
     19         This is Card two
     20     </card>
     21 </wml>
     22