当前位置: 首页 > 网络学院 > XML相关教程 > WAP > WML 计时器

WAP
WAP 介绍
WAP 基础知识
WML 格式化
WML 链接
WML Input
WML 任务
WML 计时器
WML 变量
WML 实例
Validate WML
WML 参考
WML 字符实体
WML DTD

WAP 中的 WML 计时器


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-01   浏览: 546 ::
收藏到网摘: n/a

Timer
计时器

A WML card can be set up to use the timer function of WML. The time unit of the timer is 1/10 of a second.
WML“card”可通过设置使用WML的计时函数,计时单元是0.1秒

The example below will display a message for 3 seconds, and then take you to the file "test.wml":
下面的例子会显示一条信息共3秒钟,并且进入文件"test.wml":

<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card ontimer="test.wml">
<timer value="30"/>
<p>Some Message</p>
</card>
</wml>

评论 (3) 1 All

登陆 | 还没注册?