|
|
Subject:
Animated GIF in a HTML form
Category: Computers > Programming Asked by: rparletta-ga List Price: $20.00 |
Posted:
25 Mar 2004 11:07 PST
Expires: 26 Mar 2004 12:30 PST Question ID: 320459 |
I am wishing to animate a gif image called "loading.gif" whilst the form submits payment details via a payment gateway. I have included the code below that I am currently using. I need examples of how this code can be modified so that "loading.gif" animates correctly during the submission process. I am not interested in using flash as an alternative. ----- <table width=100% align="center"> <tr valign=center> <td align=center><br><br><span class="SubHeading"> Processing...</span><br><br> {$card_name} we are checking your credit card for authorisation. Please wait while we process your payment.<br> <br> Please do not hit the refresh or stop button of your browser. Processing may take up to 60 seconds. <p><img src="../files/loading.gif"></p> <p> </p> <p> </p> <p><br> <img src="../files/ecom_ppbsgb.gif"> </p></td> </tr> <form action="{$path}" method=POST name=checkout_form> <input type=hidden name=action value="place_order"> <input type=hidden name=xid value="{$xid}"> <input type=hidden name=card_type value="{$card_type}"> <input type=hidden name=card_name value="{$card_name}"> <input type=hidden name=card_number value="{$card_number}"> <input type=hidden name=card_expire value="{$card_expire}"> <input type=hidden name=card_cvv2 value="{$card_cvv2}"> <input type=hidden name=ed_Month value="{$ed_Month}"> <input type=hidden name=ed_Year value="{$ed_Year}"> <input type=hidden name=payment_method value="{$payment_method}"> </form> </table> <SCRIPT FOR=window EVENT=onload LANGUAGE="JScript"> document.checkout_form.submit(); </SCRIPT> | |
| |
|
|
There is no answer at this time. |
|
Subject:
Re: Animated GIF in a HTML form
From: bananarchy-ga on 26 Mar 2004 11:21 PST |
rparletta, I am trying to understand exactly what the problem you're detailing is, and I must admit I'm a bit puzzled. This looks like a page that is brought up when the "Submit" button on ANOTHER page is pressed... is this correct? The Javascript you have running leads me to believe that you're somehow transferring data from another page, to this page, which then submits it via another script working elsewhere. If this is the case, I'm also unable to understand exactly why the animated GIF wouldn't load properly... are you entirely certain that you have created it properly, and that the browser you're using is capable of displaying animated GIF's? Regards, Bananarchy-ga |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |