Urgent:Error in displaying page with frames

Hey experts!

I am using the following html script in displayign a page with frames:

<html>

<head>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="Microsoft Theme" content="travel 011, default">
<title>New Page 1</title>
</head>

<body>
<frameset framespacing="0" border="3" frameborder="2" cols="19%,*">
  <frame name="left" scrolling="no" noresize target="right" src="navigation_bar.htm">
  <frame name="right" src="main_page.htm" scrolling="auto" noresize target="_self">
</frameset>
</body>

</html>

When I want to preview the page in Front Page, an empty page is appearing (with the page graphics), but the pages that the are the sources of the right & left frame are not appearing (nor is the frame)....any help??

P.S.: When I am viewing the source pages seperately they are appearing correctly
LVL 3
mte01Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mte01Author Commented:
Thank you...it put by mistake there..
0
hhammashCommented:
Can you post the code for the left?

hh
0
mte01Author Commented:
This is the HTML script for the left frame:

<html>

<head>
<meta http-equiv="Content-Language" content="en-us">
<meta name="GENERATOR" content="Microsoft FrontPage 6.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Navigation Bar</title>
<base target="_self">
<meta name="Microsoft Theme" content="travel 011, default">
</head>

<body>

<p>&nbsp;</p>
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="84%" id="AutoNumber1">
  <tr>
    <td width="100%"><a href="main_page.htm">Home Page</a></td>
  </tr>
  <tr>
    <td width="100%"><a href="photo_gallery.htm">Photo Gallery</a></td>
  </tr>
  <tr>
    <td width="100%"><a href="hobbies.htm">My Hobbies</a></td>
  </tr>
  <tr>
    <td width="100%"><a href="feedback.htm">Feedback</a></td>
  </tr>
</table></body>

</html>
0
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

hhammashCommented:
Hi,

Keep the Frameset outside the body

<html>

<head>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="Microsoft Theme" content="travel 011, default">
<title>New Page 1</title>
</head>


<frameset framespacing="0" border="3" frameborder="2" cols="19%,*">
  <frame name="left" scrolling="no" noresize target="right" src="navigation_bar.htm">
  <frame name="right" src="main_page.htm" scrolling="auto" noresize target="_self">
</frameset>
<body>

</body>

</html>


hh
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
hhammashCommented:
Sorry,  we were writing at the same time.

Take the first code you posted.  Then keep the Frameset above body tags.

hh
0
mte01Author Commented:
Yes....I did it......It worked.....
0
hhammashCommented:
Good
0
mte01Author Commented:
but when I click on a hyperlink inside the left frame, it is displaying it in the same frame(instead of the right one)...why??
0
hhammashCommented:
In the left page you have assinged _self
0
hhammashCommented:
Change:

<base target="_self">

to

<base target="main_page.htm">


hh
0
hhammashCommented:
change the base target in the left frame
0
hhammashCommented:
Or

<base target="right">
0
hhammashCommented:
Yes,

<base target="right">

is the correct one,  this is the name of the main frame
0
mte01Author Commented:
Yes..yes...finally it worked...thanks
0
hhammashCommented:
You are welcome
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development Software

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.