Re: Re: How can I make a Loading... screen?

From: Date: Wed, 01 Aug 2001 18:40:44 +0000
Subject: Re: Re: How can I make a Loading... screen?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-60734@lists.php.net to get a copy of this message
Something like: http://www.javascript-tricks.com/loading.html Found at Google, searched for 'page loading javascript'. There are more complex options, like with a bar graph. "Michael Champagne" <mchampagne@capis.com> wrote in message news:Pine.WNT.4.33.0108011315370.251-100000@wkstn114.capis.com... > Thanks for the response. The only problem is that the page that I'm waiting > on is already a popped up window, so I'd hate to open up another popup window > on top of that to say that the first one is loading. Is there a way to do > this within the same window? > > Thanks! > Mike > > > I did this myself, for the exact same reason. First I define this > > javascript in my page: > > > > function itsThinkingOpen() { > > > > imgWindow=window.open("thinking.htm","thinkingWindow","toolbar=no,scrollbars > > =no,resizable=no,width=400,height=200"); > > } > > > > function itsThinkingClose() { > > imgWindow.close(); > > } > > > > and then at the beginning of the page, before the search begins, in php I > > put > > echo "<script>itsThinkingOpen()</script>"; > > > > and after the code to search the database I put > > echo "<script>itsThinkingClose()</script>"; > > > > It works fine here. > > > > Keith Jeffery > > jeff2619@uidaho.edu > > > > "Michael Champagne" <mchampagne@capis.com> wrote in message > > > > news:Pine.WNT.4.33.0108011259380.251-100000@wkstn114.capis.com... > > > I have a popup window that populates a table with rows from a database and > > it > > > normally takes about 15 to 20 seconds to load. Does anyone know how I can > > > display a 'Loading... Please Wait.' that will disappear once the data > > comes > > > up? > > > > > > Thanks in advance for any responses, > > > Mike > > > > > > > > > > > > ****************************************************************** > > > This communication is for informational purposes only. It is not > > > intended as an offer or solicitation for the purchase or sale of > > > any financial instrument or as an official confirmation of any > > > transaction, unless specifically agreed otherwise. All market > > > prices, data and other information are not warranted as to > > > completeness or accuracy and are subject to change without > > > notice. Any comments or statements made herein do not > > > necessarily reflect the views or opinions of Capital Institutional > > > Services, Inc. Capital Institutional Services, Inc. accepts no > > > liability for any errors or omissions arising as a result of > > > transmission. Use of this communication by other than intended > > > recipients is prohibited. > > > ****************************************************************** > > > > > > > > > > -- > Michael Champagne, Software Engineer > Capital Institutional Services, Inc. > wk: mchampagne@capis.com > hm: mchamp@texas.net >

« previous php.general (#60734) next »