My main question, however: is there a preference in doing this that works
better than others? In my very limited testing, both seemed to work fine,
but perhaps you experts out there have some advice on this?
Or is there even some other method that works better?
(I realize some people may turn off JavaScript, but tough for them... :-)
Many thanks!
Michael Larue
Michael,
I have a similar problem on our online booking website, where the processing can take awhile and users get impatient. I just used some dynamic html using the <DIV> tags. I basically have two sections on the webpage that originates the request. One section has an animated gif that says processing and the other has the actual page that will be generating the request. I just hide the processing section until the user submits the form and then hide the main section and display the processing section until the page reloads with the results from my server.
Here are the tags for each
<div id="divProgress" style="position:relative; visibility:hidden;"> processing gif here. </div>
<DIV id="divBody" style="position:relative; top:-286px; visibiity:visible;">
actual webpage here with the form, buttons etc. that will generate the request.
</DIV>
And here is the form post that makes the change between the two
<form method="post" onSubmit="document.getElementById('divBody').style.visibility='hidden'; document.getElementById('divBody').style.display=''; document.getElementById('divProgress').style.visibility='visible'; document.getElementById('divProgress').style.display='';" action="/verifyflightrequest.a4d" name="CheckFlights">
You might have to do some tweaking of the positioning of the sections by changing the "-286px" in the divBody section so that the two sections line up correctly. Currently this works for me for all the current browsers even the ones from Microsoft.
gary
------------------------------------------------------------------------ Gary Pedretty [EMAIL PROTECTED] Systems Manager www.frontierflying.com Frontier Flying Service, Inc. /\ 907-450-7251 5245 Airport Industrial Road / \/\ 907-450-7238 fax Fairbanks, Alaska 99709 /\ / \ \ Second greatest commandment Serving Alaska's Interior / \/ /\ \ \/\ "Love your neighbor as Temperature around +60 spring has sprung yourself" Matt 22:39 ------------------------------------------------------------------------
_______________________________________________ Active4D-dev mailing list [email protected] http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/
