网络学院 w3pop社区 网络资源 IT新闻

w3pop.com :: 网络学院 :: WAP :: WML 计时器

会员登陆

帐号

密码

回答

记住密码

忘记密码? 注册

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

WML 计时器


作者:w3pop.com 翻译/整理:w3pop.com 发布:2007-04-29 浏览:1617 :: ::

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>

评论 (0) All