[Javascript] [OT ]popup window close

Peter Brunone peter at brunone.com
Thu May 13 11:42:11 CDT 2004


   How about a modification of 

http://aspalliance.com/peterbrunone/pleasewait.asp 

?  It works in IE4+, NS4/6/7, and the Mozilla family.

  For your situation, you'd just want to start it out hidden and when the submit button clicks, show the div.  It will be gone when the next page loads.

Cheers,

Peter

Original Message:
>From: "Paul McGuire" <pmcguire at cguk.co.uk>

>Its actually reporting on a database... so the query is expected to take a
>while. I just need a courtesy message so people dont think its crashed.
>
>I am playing with your suggestions but the popup cant do the page change
>because it has to be a form submission.
>
>I need to transfer the parent over on the child window. Or is there another
>way to display a please wait message that starts on the onsubmit event
>handler and finishes on another pages onload handler?
>
>----- Original Message ----- 
>From: "Hakan Magnusson" <hakan at backbase.com>
>
>> Actually, I was going to say "Don't use homepages that take three
>> minutes to load". ^_^
>>
>> Flavio Gomes wrote:
>> > Everyone is going to tell you:
>> > Don't use popups...
>> >
>> >  But a solution with popups would be for the popupWindow to popup
>> > pageB.html and then focus itself(popupWindow) back;
>> >  So, from popupWindow you would have reference to all windows
>> >    ==> window.opener = pageA.htm
>> >    ==> window = popupWindow
>> >    ==> windowB = pageB.htm
>> >
>> > Hope to help,





More information about the Javascript mailing list