Looks like a mess. This works:
page1.htm
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script type="text/javascript">
this.name='bobo_1';
</script>
</head>
<body>
<a href="page2.htm" onclick="open(this.href,'_blank','width=300, height=300');return false;">Page 2</a>
</body>
</html>
page2.htm
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<a href="http://www.google.com/" onclick="window.open(this.href,'bobo_1');self.close();return false;">Google then Close</a>
</body>
</html>
Alternatively, you can take:
Code:
<script type="text/javascript">
this.name='bobo_1';
</script>
off of page1 and put this on page2:
Code:
<script type="text/javascript">
opener.name='bobo_1';
</script>
Bookmarks