calicoder
05-16-2009, 10:41 PM
greetings. first post here. thanks in advance for any help.
I am using the following code in to open a pop-up window (in Flash hence the actionscript tags ..):
getURL ("javascript:window.open('http://www.mydomain.com/radio/player.php','radio','width=275,height=100');void 0;")
This is working fine. My problem is how to close this window from other pages on the website.
I have tried:
radio.close()
And it is not working. What would be the correct javascript to use to close the pop-up window that is opened using the code above?
Thank you,
calicoder
I am using the following code in to open a pop-up window (in Flash hence the actionscript tags ..):
getURL ("javascript:window.open('http://www.mydomain.com/radio/player.php','radio','width=275,height=100');void 0;")
This is working fine. My problem is how to close this window from other pages on the website.
I have tried:
radio.close()
And it is not working. What would be the correct javascript to use to close the pop-up window that is opened using the code above?
Thank you,
calicoder