0

close messagebox after x seconds if no user response

asked 2013-01-30 22:36:26 +0800

rickybaker gravatar image rickybaker
25 1

can you close messagebox after x seconds if no user response?

delete flag offensive retag edit

Comments

Can you provide a sample of the code to do this?

rickybaker ( 2013-01-31 14:34:45 +0800 )edit

i figured out how to add the timer i needed when the pop up message tells the user that they have not done anything in x amount of time. thanks

rickybaker ( 2013-02-05 23:25:54 +0800 )edit

2 Answers

Sort by ยป oldest newest most voted
1

answered 2013-01-30 23:48:10 +0800

jj gravatar image jj
638 3

updated 2013-01-31 04:50:25 +0800

sjoshi gravatar image sjoshi flag of India
3493 1 8
http://zkframeworkhint.bl...

Use a timer component to keep track of time lapse, and close the messagebox in the TimerEvent handler when time expires

link publish delete flag offensive edit
0

answered 2013-01-31 17:11:26 +0800

jj gravatar image jj
638 3

check out the ZK Demo -> Server Push -> Timer for example codes.

ZK API doc and ZK Component References are also good place to start with.

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2013-01-30 22:36:26 +0800

Seen: 42 times

Last updated: Feb 05 '13

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More