in the link where u open the popup window have this
<a href = "#" onclick = "openpoup();self.close();r
or in the function that calls the pop up like this
function openpopup()
{
window.open('http://www.ya
self.close();
}
Main Topics
Browse All TopicsHi all,
I would like to have the user click on a specific link say on a page called page1.htm, once the link is clicked it brings up another page loaded in a seperate parent window. Once this parent window appears close down the page1.htm page. This make sense?
Thanks,
Rick
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
in the link where u open the popup window have this
<a href = "#" onclick = "openpoup();self.close();r
or in the function that calls the pop up like this
function openpopup()
{
window.open('http://www.ya
self.close();
}
Dear COBOLdinosaur,
The unprofessional vigilante which you have displayed here should serve as a warning to other experts considering to contribute to Experts-Exchange.com.
I have been a contributor for over 2 years and am shocked by your behaviour. My wrongdoing was in including a link I found by researching an answer for the user. You could have had the decensy to point out any infarction the link may have had before lashing out at me and eliminating 500 points from the question.
Since I do not know what the link was and you have so swiftly removed it, I have no recourse.
You have convinced me that my efforts were to no use. I hope others learn from my experience because wherever you are the page editor - they should beware!
I am certain that you vigilante will not stop and suspect you will remove this comment as soon as possible - a further testiment to your unprofessional reaction.
A copy of my complaint was sent to customer service as well.
Tiran.
Business Accounts
Answer for Membership
by: tirandaganPosted on 2005-03-30 at 18:26:46ID: 13667824
Hi Rick,
e()">
unfortunately you may not close a parent page, not created via script, without generating a warning.
In your example, if page1.html opens page2.html, the contents of page2.html could be:
<body onload="window.opener.clos
however, this will cause a message displayed to the user "do you wish to close this window" or similar.
Here is a work around:
<link to hack removed by COBOLdinosaur Page Editor>