What do you think of launching a frame page with two frames (top and bottom), the top one display the msg and the bottom one do data loading and size set to 0 to hide it, once the loader completes its job close the top and bottom frames). Since I don't use frames that often, just to check to see if anyone has done something similar and that works before I spend the time.
Many thanks.
Don
>How about doing something like this:
>
>MAIN Window
> tons of stuff
> event trigger:
> pop2();
>
>
>pop2 data loader
> msgWin = window.open( 'pop1.htm', 'msg', '' );
> msgWin.focus();
>
> do tons of stuff;
>
> msgWin.close();
> self.close();
>
>
>pop1 message
> document.write('Please wait, loading...');
>
>
>
>-----Original Message-----
>From: Chunshen Li [mailto:[EMAIL PROTECTED]
>Sent: Monday, May 17, 2004 12:36 AM
>To: CF-Talk
>Subject: The never-ending windows
>
>
>Hello,
>
>I've spent at least one hour on figuring out how to work out this "oo"
>thing. Here's the scoop, I have one Main window, which contain form and
>elements, upon certain action, triggers a popup window, which does two
>things of 1) query a database to pull certain data out; 2) write the data to
>(populate) the Main window, then, close itself.
>
>However, since, query/data retrieval and population may take a while, so,
>I'd like to add msg like, "Please wait ..." upon loading, and yet, it causes
>double buffer, the single popup window won't do, which leaves me with no
>choice but to add another little named popup window to say "Please wait
>...". These two popup windows are loaded in the sequence of pop msg and pop
>data loader. Problem, pop data loader, closes itself upon job completion,
>fine, but the pop msg window won't close.
>
>Here's the relevant code:
>
>MAIN Window
>tons of stuff
>event trigger:
>pop1();
>pop2();
>
>pop1 about msg
> msgWin = (window.open('pop1.htm','msg','');
> msgWin.focus();
>
>pop2 about data loader
> do tons of stuff;
> // close pop1 window
> msgWin.close();
> // also tried, msg.close() to no avail
> self.close();
>
>
>TIA
> _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

