Closing a Popup Window

Results 1 to 2 of 2

Thread: Closing a Popup Window

  1. #1
    Brian Frankle Guest

    Default Closing a Popup Window

    I have an Asp Page Called "PAGE A" that opens a Poup window called "Page B". When "Page A" closes I want to also close "Page B".<BR>How can I do this ?<BR><BR>Thanks.

  2. #2
    Sven Cipido Guest

    Default RE: Closing a Popup Window

    When you open page B in Page A, you have to give the window a name. When you close page A, you can close the window with that name.<BR><BR>example with page A is loading and starts page B. After 12 seconds pag A closes Page B. Change the timeout to closing the window and you could use it also.<BR><BR>Page A<BR>&#060;script language="javascript"&#062;<BR>&#060;!--<BR>wait ="pageB.asp","wait","width=230,height=1 0,toolbar=no,status=no,scrollbars=no,menubar=no,re sizable=no");<BR>window.status="please wait"<BR>--&#062;<BR>&#060;/script&#062;<BR><BR>Include here the rest of the code<BR><BR>&#060;script language="JavaScript"&#062;<BR>&#060;!--<BR>settimeout("wait.close();,1200)<BR>window.stat us = ""<BR>--&#062;<BR>&#060;/script&#062;

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts