troubleshooting Question

Is it possible to open a pop-up window from within a pop-up window?

Avatar of sjsimpson2000
sjsimpson2000Flag for United States of America asked on
JavaScriptHTML
2 Comments1 Solution336 ViewsLast Modified:
Hi, I have an html file with this script:
<script language="javascript" type="text/javascript">
<!--
function popitup(url) {
	newwindow=window.open(url,'name','height=600,width=950,scrollbars=Yes,toolbar=No,ScreenX=500,ScreenY=250');
	if (window.focus) {newwindow.focus()}
	return false;
}
// -->
</script>

that is executed with the URL like this:
<a href="#" onClick="return popitup('http://www.mypage.com')">Click Here!</a>

When I put the same code in the html file of the window that is popped up I can only get it to display in the same popped up window, or a new one.  

How can get a link in the popped up window to open another pop-up?

Thanks!!
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros