On of the things i have done in the past is to put the form/page that starts teh process into two HTML DIVs.
Then when they click the link or input button to start the process.. an onclick makes the initial screen hidden and the "processing please wait" div visable... works great and is also the most flawless way of stopping the old "double submit" issue with CGI scripts.. The version I wrote works in IE, mozilla, NS4, NS6+ and opera (not tested others.) If the initial screen is a form with visable inputs (select box's txt inputs, buttons etc.) then you really need the two div's (one for the form and one for the waiting messag) because form elements, just like java applets will show though any other div.. whereas if you put the form or applet in a div and make the div hidden, the applet of form goes with it.. If the initial screen is just HTML with a link, you only need the "waiting message" div as it will cover the html... if you need/want more info and an example, let me know.. I have a demo working online somewhere.. rgds Franki -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Saturday, 8 March 2003 3:20 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [cgiapp] How to create a "Please Wait....." display on the browser You have a couple of options... For data that I can send a refresh using GET, I have created a CGI script that just generates a "Please wait..." message, and then redirects to the GET. If you can ensure that your target script does not do any output until close to the end, this will leave the "Please wait..." script on the screen. Another option would be to use a server push script. Look for the "Server Push" section in the CGI perldoc page. I have only "played" with this option. Unfortunately, due to policy, I cannot release any code :( Brian ---- Brian T. Wightman [EMAIL PROTECTED] 414.524.4025 [EMAIL PROTECTED] To: [EMAIL PROTECTED] 03/07/03 01:03 cc: PM Subject: [cgiapp] How to create a "Please Wait....." display on the browser Hello there, I have a simple perl program which reads somany log files and count the number of logs being accessed by the end user but this program takes more time like more than 1 mt and i want to pop up a small window just letting know the end user that "Please wait, logs are processing...". How do i do that in perl. My perl version is 5.6.1 built for sun4-solaris. Any help will be greatly appreciated. Thanks --------------------------------------------------------------------- Web Archive: http://www.mail-archive.com/[EMAIL PROTECTED]/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- Web Archive: http://www.mail-archive.com/[EMAIL PROTECTED]/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- Web Archive: http://www.mail-archive.com/[EMAIL PROTECTED]/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
