需要定时器功能(Javascript) - 120秒完成测验?
问题描述:
我正在设置一个测验,用户有120秒完成测验,我使用什么计时器功能以及如何使用?
120秒后我想显示一条消息,抱歉超时。
谢谢
>
patelxxx
I''m setting up a quiz where users have 120 secs to finish a quiz, what timer function do I use and how?
After 120 secs I want to display a message, "Sorry timed out".
Thank you
patelxxx
答
这是时钟,你可以在此基础上建立。
祝你好运
heres an example of a clock, u can build on that.
good luck
谢谢你。
欢呼
thank you for that.
cheers
我一直在研究''计时器''脚本,但我不是了解一些部分,请参阅我的注释行:
I''ve been studying the ''timer'' script, however i don''t understand some parts, please see my commented lines:
展开 | 选择 | Wrap | 行号