 |
HTML Help Please Search for the answer to your question before asking it! Thanks.
|
| View previous topic :: View next topic |
| Author |
Message |
William_F_Moore
Joined: 28 May 2004
Posts: 1
Location: Texas
|
| Posted: Fri May 28, 2004 12:47 pm Frame redirect |
|
|
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
|
| Posted: Mon Jun 14, 2004 12:17 pm |
|
|
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
|
| Posted: Mon Jun 14, 2004 12:24 pm |
|
|
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. |
|
|
| |
|
|
|
Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.19 © 2001, 2002 phpBB Group
|