NetTalk Central

Author Topic: Timers / Progress Bar 2  (Read 2739 times)

JohanR

  • Sr. Member
  • ****
  • Posts: 375
    • View Profile
    • Email
Timers / Progress Bar 2
« on: May 28, 2012, 06:43:17 AM »

I am struggling a bit with the timer/process code.

Got the 'start' button working,
got the child process to update the progress bar on the original screen,
got the timer to stop once the process is complete,
although this does not seem to work if you set progress to 99 or 100, but only if you use the URL parameter.

If I use the URL it works, but I don't need the url,
is there another way to stop the timer and return to original state of screen with a few updates of certain browses and fields?

TIA

Johan


JohanR

  • Sr. Member
  • ****
  • Posts: 375
    • View Profile
    • Email
Re: Timers / Progress Bar 2
« Reply #1 on: May 28, 2012, 10:54:43 PM »
Hi,

Some feedback.
Not sure it's the correct way of doing it,
but the only way I could get the timer to stop was to use alpha chars in the url parameter.

So passed a dummy text in the url, and then set a session variable.
The session variable was used as a 'hide' condition on the progress bar.


Johan