Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using Frames - but Lose the Frame 1

Status
Not open for further replies.

JohnBates

MIS
Feb 27, 2000
1,995
US
Hi HTML experts,

I'm using a left-side column (20 % wide) to list several links. The frame displays, no problem there.

But when a link is clicked and the related page displays...
it covers up the frame, taking up the entire screen.

What do you have to do to keep the frame column visible all the time ?

Thanks, John




<html>
<head>
<title>John Bates</title>

</head>

<frameset cols=&quot;20%,*&quot; framespacing=&quot;0&quot; border=&quot;0&quot; frameborder=&quot;0&quot;>

<frame name=&quot;contents&quot; target=&quot;main&quot; src=&quot;Frame1.htm&quot; scrolling=&quot;auto&quot;>
<frame name=&quot;main&quot; src=&quot;main.html&quot; scrolling=&quot;auto&quot;>

<noframes>
<body>

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

</body>
</noframes>

</frameset>

</html>
 
Try adding the target=&quot;main&quot; to your link.
 
or even better use this:

<base target=&quot;main&quot;>

this way you dont have to add target=&quot;main&quot; to all you hyperlinks.

i hope this helped, [bobafett] BobbaFet [bobafett]

Everyone has a right to my opinion.
E-mail me at caswegkamp@hotmail.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top