HTML Tutorial


 /help/HTML Help Forum   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
Frame redirect
Post new topic   Reply to topic    HTML Help Forum -> HTML Frame
View previous topic :: View next topic  
Author Message
William_F_Moore



Joined: 28 May 2004
Posts: 1
Location: Texas

PostPosted: Fri May 28, 2004 12:47 pm     Frame redirect Reply with quote

In Debug it indicates that Parent is undefined when used with onOpen.

Maybe I need to say more.

Website base is three Frames Top, Center, Bottom. Top is used for Logo / date / time etc.
Center is for Main Menu Structure and items there load pages into bottom
Bottom contains all content pages which typically will be 2 or three synchronized frames Left, Left1, Right

Right contains the Menu that will load Left1, when document in left1 loads an associated document will load into Left
That is the plan.
This code is the Main Content Frame page.
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>World News Main</title>
</head>

<frameset cols="20%,60%,*" border="0" frameborder="0">
<frame name="left" scrolling="auto" src="Ads_Pages/Ad_Intro.htm">
<frame name="left1" src="WorldNewsIntro.htm" scrolling="auto">
<frame name="right" src="NEWS_MAIN_MENU.htm" target="left1" scrolling="auto">
<noframes>
<body>

<p>This page uses frames, but your browser doesn't support them.</p>

</body>
</noframes>
</frameset>

</html>

Code for the page that is suppose to load the document into the Left frame.

<html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<link rel="File-List" href="WorldNewsIntro_files/filelist.xml">

<title>New Page 1</title>

</head>

<body onLoad="onLoad="parent.left.href='Ads/Ad_Intro2.htm'" bgcolor="#6699FF">

</body>

</html>
mjpliv



Joined: 11 May 2004
Posts: 402
Location: Nova Scotia

PostPosted: Mon Jun 14, 2004 12:17 pm     Reply with quote

I see no one has answered your question. I haven't taken a stab at it because I have never used the onload functions.

I have one question though. You say you are trying to set up an upper, middle and lower frame but the Frameset tag is setting up columes instead of rows. Is this just a typo?
mjpliv



Joined: 11 May 2004
Posts: 402
Location: Nova Scotia

PostPosted: Mon Jun 14, 2004 12:24 pm     Reply with quote

Actually, maybe I do see what is going on?

Were the three rows created by a frameset tag in another HTML document??

The code you have shown is only setting up the frames inside the bottom frame.
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum -> HTML Frame All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
DARFUR
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial