Help... need redirect page to open in parent window

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Trooper_fan

Thread Starter
Joined
Nov 20, 2003
Messages
800
My website consists of a main page with a frame in it to which the pages load but I need to get one page to load in a parent frame... where to I need to put the target="parent" bit in this code to get it to do that instead of open in the frame??

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<script type="text/javascript">
<!--
function delayer(){
document.location = "ijnj0001xxxp.htm"
}
//-->
</script>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body onLoad="setTimeout('delayer()', 5000)" bgcolor="#000000" text="#FFFFFF" link="#FF0000" vlink="#FF0000" alink="#FF0000">
<div align="center">
<table width="575" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="700" height="241" valign="top"><p align="center">&nbsp;</p>
<p align="center">&nbsp;</p>
<p align="center">&nbsp;</p>
<p align="center">&nbsp;</p>
<p align="center"><img src="p_grap/ahr062.gif" width="700" height="8"></p></td>
</tr>
</table>
</div>
</body>
</html>
 
Joined
Sep 15, 2004
Messages
40
Try replacing:

document.location = "ijnj0001xxxp.htm"

with:

window.parent.location = "ijnj0001xxxp.htm"

:)
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Members online

Top