• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to show countdown time in rich:modalPanel?

 
Eswar Nec
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I want to show the modalPanel only 30 seconds. After 30 seconds, it will close automatically.
Then show the countdown like (30, 29 , 28 , 27, 26 ....3,2,1,0) in modalPanel.



After open modalPanel, show the countdown time value in modalPanel. Then the time dcrease 30, 29,28.... . It reach zero, then automatically close the modalPanel.

Help me about this.
Thanks in advance...
 
Max Katz
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to use some JavaScript to count and then close the modal panel.
 
Eswar Nec
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ya. I got the javascript. and i complete the countDown work.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!