Hi, I have a page with the following code (just a link to popup) which leads to another page. From this popup page I would like to popup another window, but it will not let me, it just treats it like a normal link and moves inside the first popup window.
------Test Page--------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<html xmlns="<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title></title>
<script language="javascript" type="text/javascript">
var newwindow;
function pop_up(url)
{
newwindow=window.open(url,'name','height=700,width=550,status=1,resizable=1');
if (window.focus) {newwindow.focus()}
}
</script>
</head>
<body>
<a href="javascript
op_up('popuppage1.cfm');">Test</a>
</body>
</html>
----------------Popup page 1--------------------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<html xmlns="<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title></title>
<script language="javascript" type="text/javascript">
var newwindow;
function pop_up(url)
{
newwindow=window.open(url,'name','height=700,width=550,status=1,resizable=1');
if (window.focus) {newwindow.focus()}
}
</script>
</head>
<body>
<a href="javascript
op_up('sign_up.cfm');">Test</a>
</body>
</html>
It is the same code, just different link. Can you not do a popup from a popup? Thanks for your help in advance.
Keith
The most likely way for the world to be destroyed, most experts agree, is by accident. That's where we come in; we're computer professionals. We cause accidents.
------Test Page--------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<html xmlns="<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title></title>
<script language="javascript" type="text/javascript">
var newwindow;
function pop_up(url)
{
newwindow=window.open(url,'name','height=700,width=550,status=1,resizable=1');
if (window.focus) {newwindow.focus()}
}
</script>
</head>
<body>
<a href="javascript
</body>
</html>
----------------Popup page 1--------------------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<html xmlns="<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title></title>
<script language="javascript" type="text/javascript">
var newwindow;
function pop_up(url)
{
newwindow=window.open(url,'name','height=700,width=550,status=1,resizable=1');
if (window.focus) {newwindow.focus()}
}
</script>
</head>
<body>
<a href="javascript
</body>
</html>
It is the same code, just different link. Can you not do a popup from a popup? Thanks for your help in advance.
Keith
The most likely way for the world to be destroyed, most experts agree, is by accident. That's where we come in; we're computer professionals. We cause accidents.