2deep
05-07-2003, 05:55 PM
HI there guys I need some help writing the code to pop up a window and close the one that it auto loaded from for the following little situation I need to work around.
OK what I need to do is have a html page that onload of that page opens a centred 650 by 300 auto centred, vertical scrollbars only pop up window. (Simple so far hey)
Ok now what I need to happen is for the page that auto loaded the popup to automatically close therefore the only window that will be open will be the popup that I have just generated.
I know you will probably be “thinking why on earth …..” .
The problem arises because I am calling the 1st html page (the one containing the onload centre window function) from an external .txt file that is formatted and held within a flash (.swf) file.
Flash currently only supports basic html to date and therefore the reason why I need to call a normal _blank page rather than jumping straight to the popup. BTW – I know that flash can open popups and all that. As I say the reason is because I am launching the window from an externl .txt source rendered as HTML in the flash page. Using the simple:
<a href="http://www.2deep.uk.com" target="_blank"><font color="#ffffff" size="10"><u>CLICK HERE TO LAUNCH</u></font></a>
And this is a sophisticated as Flash HTML currently can get, Hence my problem
Thanks in advance to the guru that can write the code for me
OK what I need to do is have a html page that onload of that page opens a centred 650 by 300 auto centred, vertical scrollbars only pop up window. (Simple so far hey)
Ok now what I need to happen is for the page that auto loaded the popup to automatically close therefore the only window that will be open will be the popup that I have just generated.
I know you will probably be “thinking why on earth …..” .
The problem arises because I am calling the 1st html page (the one containing the onload centre window function) from an external .txt file that is formatted and held within a flash (.swf) file.
Flash currently only supports basic html to date and therefore the reason why I need to call a normal _blank page rather than jumping straight to the popup. BTW – I know that flash can open popups and all that. As I say the reason is because I am launching the window from an externl .txt source rendered as HTML in the flash page. Using the simple:
<a href="http://www.2deep.uk.com" target="_blank"><font color="#ffffff" size="10"><u>CLICK HERE TO LAUNCH</u></font></a>
And this is a sophisticated as Flash HTML currently can get, Hence my problem
Thanks in advance to the guru that can write the code for me