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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Simple Frame question

Status
Not open for further replies.

Kruzer

Programmer
Jun 16, 2000
117
US
I have two frames top and bottom that load just fine, but when I need to click to another non-frame html file the bottom frame doesn't close allowing only the non-framed page to open.

This is the frameset file which has a menu that directs the user to a non-framed page - how do I make the bottom frame close and the top frame be the only one seen?

**frameset
<html><head><title></title>
<script language=&quot;JavaScript&quot;>
</script>
</head>
<frameset rows=&quot;29%, 81%&quot; frameborder=&quot;no&quot; border=0>
<frame src=&quot;menu.htm&quot; name=&quot;Frame0&quot; marginheight=1 marginwidth=1 scrolling=&quot;no&quot;>
<frame src=&quot;something.htm&quot; name=&quot;Frame1&quot; marginheight=1 marginwidth=1 scrolling=&quot;yes&quot;>
</frameset>
</html>

**non-frame
<html><head><title></title>
<script language=&quot;JavaScript&quot;>
</script>
</head>
<body>
whatever
</body>
</html>
Dano
dskryzer@hotmail.com
What's your major malfunction
 
if your link to the non framed page is like : <a href=&quot;non_framed.htm&quot;> it's normal that it appears inside the bottom frame
the correct syntax is <a href=&quot;non_framed.htm&quot; target=&quot;_top&quot;>

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top