<img src=3D&qu=ot;processing.gif" />=div>
[spawn]
=C2=A0 =C2=A0 =C2=A0[parse your= code here]
=C2=A0 =C2=A0 =C2=A0[writefile done.txt][/writefile]
[/sp=awn]
[waitforfile file=3Ddone.txt&timeout=3D300]
=C2=A0 =C2==A0 =C2=A0[redirect or whatever ...]
[/waitforfile]=C2=A0
=Something like this:<img=20src=3D"processing.gif" />
[parse your code here]
[writ=efile=20done.txt][/writefile]
[waitforfile file=3Ddone.txt&timeout=3D30=0]=20
=C2=A0=C2=A0=C2=A0 [redirect or whatever ...]
[/waitforfile]=C2=A0<=br>-Dan Strong On Thu, Apr 2,= 2015 at 9:04 AM, Dan Strong <dan@danstrong.com> wrote:
<=blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px= #ccc solid;padding-left:1ex">Ken, I'll respond in mor=e detail later today if others don't help you before then, but in the b=roadest sense, you want to probably use jquery since it has stuff like this= built right in and there are metric buttloads of plugins and such for ajax= spinners.But that said, if this is a one-off thing you= could always do a quick & dirty fake-out thing involving an animated .=gif spinner/progress bar image being displayed while [waitforfile] waits fo=r some file triggered by the conclusion of the CC transaction. I'm sure= you get the idea...Will check back later today.<=/div>-Dan StrongOn Thu, Apr 2, 2015 at 8:52 AM, Kenneth Grom=e <ken@webdnasolutions.com> wrote:I have a client who wants me to display a 'page loadin=g' spinner
while waiting for his 'thank you' page to load.=C2=A0 Sometimes thi=s
takes a while because the code runs a credit card transaction at
his processor and waits for their response.
Since I'm not up on AJAX (and I could not find any examples on
webdna.us or in my own c=ode library) I was wondering if anyone
here has done something similar and might share their code with me
so I can get a jump-start on this project.
?
Regards,
Kenneth Grome
WebDNA Solutions
http://www.web=dnasolutions.com
Web Database Systems and Linux Server Management
---------------------------------------------------------
This message is sent to you because you are subscribed to
the mailing list <ta=lk@webdna.us>.
To unsubscribe, E-mail to: <talk-leave@webdna.us>
archives: http://mail.webdna.us/list/talk@webdna.us
Bug Reporting: suppo=rt@webdna.us
|
<img src=3D&qu=ot;processing.gif" />=div>
[spawn]
=C2=A0 =C2=A0 =C2=A0[parse your= code here]
=C2=A0 =C2=A0 =C2=A0[writefile done.txt][/writefile]
[/sp=awn]
[waitforfile file=3Ddone.txt&timeout=3D300]
=C2=A0 =C2==A0 =C2=A0[redirect or whatever ...]
[/waitforfile]=C2=A0
=Something like this:<img=20src=3D"processing.gif" />
[parse your code here]
[writ=efile=20done.txt][/writefile]
[waitforfile file=3Ddone.txt&timeout=3D30=0]=20
=C2=A0=C2=A0=C2=A0 [redirect or whatever ...]
[/waitforfile]=C2=A0<=br>-Dan Strong On Thu, Apr 2,= 2015 at 9:04 AM, Dan Strong <dan@danstrong.com> wrote:
<=blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px= #ccc solid;padding-left:1ex">Ken, I'll respond in mor=e detail later today if others don't help you before then, but in the b=roadest sense, you want to probably use jquery since it has stuff like this= built right in and there are metric buttloads of plugins and such for ajax= spinners.But that said, if this is a one-off thing you= could always do a quick & dirty fake-out thing involving an animated .=gif spinner/progress bar image being displayed while [waitforfile] waits fo=r some file triggered by the conclusion of the CC transaction. I'm sure= you get the idea...Will check back later today.<=/div>-Dan StrongOn Thu, Apr 2, 2015 at 8:52 AM, Kenneth Grom=e <ken@webdnasolutions.com> wrote:I have a client who wants me to display a 'page loadin=g' spinner
while waiting for his 'thank you' page to load.=C2=A0 Sometimes thi=s
takes a while because the code runs a credit card transaction at
his processor and waits for their response.
Since I'm not up on AJAX (and I could not find any examples on
webdna.us or in my own c=ode library) I was wondering if anyone
here has done something similar and might share their code with me
so I can get a jump-start on this project.
?
Regards,
Kenneth Grome
WebDNA Solutions
http://www.web=dnasolutions.com
Web Database Systems and Linux Server Management
---------------------------------------------------------
This message is sent to you because you are subscribed to
the mailing list <ta=lk@webdna.us>.
To unsubscribe, E-mail to: <talk-leave@webdna.us>
archives: http://mail.webdna.us/list/talk@webdna.us
Bug Reporting: suppo=rt@webdna.us
DOWNLOAD WEBDNA NOW!
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...