WML Program to Display Timer
Code:
/*WML Program to Display Timer*/
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORAM//DTD WML 1.2//EN"
"http:??www.wapforum.org/DTD/wml12.dtd">
<wml>
<card id="splash" title="splash">
<onevent type="ontimer">
<go href="#Welcome">
</onevent>
<timer value=50"/>
<p>
<a href="#Welcome">Enter</a>
</p>
</card>
<card id="Welcome" title="Welcome">
<p>
Welcome to the main screen
</p>
</card>
</wml>
Sample Output<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORAM//DTD WML 1.2//EN"
"http:??www.wapforum.org/DTD/wml12.dtd">
<wml>
<card id="splash" title="splash">
<onevent type="ontimer">
<go href="#Welcome">
</onevent>
<timer value=50"/>
<p>
<a href="#Welcome">Enter</a>
</p>
</card>
<card id="Welcome" title="Welcome">
<p>
Welcome to the main screen
</p>
</card>
</wml>
Comment bellow for Query and Feedback :)
0 comments:
Confused? Feel free to ask
Post a Comment