Hi all,
I have the following pages which are configured in a FRAMESET.
FRAMESET CODE:
<html>
<head>
<title>External Link</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<frameset rows="60,*" framespacing="0" marginheight="0" marginwidth="0" frameborder="0" margin="0" border="0" cols="*">
<frame src=http://www.webdeveloper.com/forum/archive/index.php/"../Admin/TOPFRAME.htm" name="top" scrolling="NO" noresize marginheight="0" marginwidth="0">
<frame src="http://www.hmce.gov.uk" name="mainFrame" marginheight="0" marginwidth="0" >
<noframes>
</noframes> </frameset>
</html>
TOP FRAME:
<html>
<head>
<title>External Link Top Frame</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript">
<!--
function close_window() {
window.close();
}
//-->
</script>
</head>
<body bgcolor="#FFFFFF" text="#000000" background="../images/Background.gif">
<table width="100%" border="3" bordercolor="#990000">
<tr>
<td width="68%"><img src="../images/retrun.gif" width="251" height="44" usemap="#Map" border="0"></td>
<td width="32%">
<div align="right"><img src="../images/homepage.gif" width="236" height="33" align="top"></div>
</td>
</tr>
</table>
<map name="Map">
<area shape="rect" coords="106,24,155,35" target="_parent" onMouseOver="close_window()">
</map>
</body>
</html>
BOTTOM FRAME: This is an external link
The FRAMESET works OK. But when I click on the CLOSE Gif on the TOP FRAME the window does not close.
If I run the page from the TOP FRAME as a standalone page the CLOSE works OK.
Can anyone see what is wrong with it.
REMEMBER IT IS A FRAMESET WITH 2 FRAMES:
TOP FRAME LOADS PAGE TOPFRAME.HTM AND THE BOTTOM
FRAME LOADS AN EXTERNAL LINK.
Many thanks if you can help.
Regards
Dereck
I have the following pages which are configured in a FRAMESET.
FRAMESET CODE:
<html>
<head>
<title>External Link</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<frameset rows="60,*" framespacing="0" marginheight="0" marginwidth="0" frameborder="0" margin="0" border="0" cols="*">
<frame src=http://www.webdeveloper.com/forum/archive/index.php/"../Admin/TOPFRAME.htm" name="top" scrolling="NO" noresize marginheight="0" marginwidth="0">
<frame src="http://www.hmce.gov.uk" name="mainFrame" marginheight="0" marginwidth="0" >
<noframes>
</noframes> </frameset>
</html>
TOP FRAME:
<html>
<head>
<title>External Link Top Frame</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript">
<!--
function close_window() {
window.close();
}
//-->
</script>
</head>
<body bgcolor="#FFFFFF" text="#000000" background="../images/Background.gif">
<table width="100%" border="3" bordercolor="#990000">
<tr>
<td width="68%"><img src="../images/retrun.gif" width="251" height="44" usemap="#Map" border="0"></td>
<td width="32%">
<div align="right"><img src="../images/homepage.gif" width="236" height="33" align="top"></div>
</td>
</tr>
</table>
<map name="Map">
<area shape="rect" coords="106,24,155,35" target="_parent" onMouseOver="close_window()">
</map>
</body>
</html>
BOTTOM FRAME: This is an external link
The FRAMESET works OK. But when I click on the CLOSE Gif on the TOP FRAME the window does not close.
If I run the page from the TOP FRAME as a standalone page the CLOSE works OK.
Can anyone see what is wrong with it.
REMEMBER IT IS A FRAMESET WITH 2 FRAMES:
TOP FRAME LOADS PAGE TOPFRAME.HTM AND THE BOTTOM
FRAME LOADS AN EXTERNAL LINK.
Many thanks if you can help.
Regards
Dereck