There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Software Development
Tag Cloud
adware audio blue screen boot bsod computer cpu crash dell desktop driver drivers error excel external hard drive firefox freezes freezing hard drive hardware hijackthis internet internet explorer itunes laptop malware mouse msn network networking outlook 2007 popups power printer problem ram router screen slow sound trojan usb virtumonde virus vista vista 32-bit windows windows xp winxp wireless
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Software & Hardware > Software Development >
Help... need redirect page to open in parent window


Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members. Enjoy!

Closed Thread
 
Thread Tools
Trooper_fan's Avatar
Senior Member with 801 posts.
 
Join Date: Nov 2003
Location: Plumstead, SE London
Experience: Advanced
11-Sep-2004, 11:48 PM #1
Help... need redirect page to open in parent window
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>
__________________
*~ Visit ~*
The Bijou Dragon
For pretty, hand-crafted jewellery

Paddy's Tavern Wench
mark007's Avatar
Member with 44 posts.
 
Join Date: Sep 2004
Location: York, UK
Experience: Advanced
15-Sep-2004, 07:40 AM #2
Try replacing:

document.location = "ijnj0001xxxp.htm"

with:

window.parent.location = "ijnj0001xxxp.htm"

Closed Thread

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.



Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 11:45 AM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.