Solved

Left ,Top Bottom Frame

Posted on 2003-11-04
4
277 Views
Last Modified: 2010-04-09
Hello,

We have a frameset like this

L    Top Frame
E
F
T

F    Bottom Frame
R
A
M
E

Right now, all the links we put into the left open ONLY in the top frame.  How can we designate the links to open in EITHER the Top or Bottom Frames?  Also, currently our Frameset code is this:
<html>

<head>

</head>

<frameset cols="229,*">
  <frame name="left" scrolling="auto" noresize target="rtop" src="lef.htm">
  <frameset rows="56%,*">
    <frame name="rtop" target="rbottom" src="to.htm">
    <frame name="rbottom" src="botto.htm" target="_self">
  </frameset>
  <noframes>
  <body>

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

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

</html>

What should we do?  Help!

Thanks,

Yunkaa
0
Comment
Question by:yunkaa
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 31

Expert Comment

by:seanpowell
ID: 9682277
Change this:
<frame name="left" scrolling="auto" noresize target="rtop" src="lef.htm">

to this:

<frame name="left" scrolling="auto" noresize src="lef.htm">


When you use the target="rtop", it means that all links will open in that frame...

Then the links in the left frame now become:

<p><a href="to.htm" target="rtop">Link One</a></p>
<p><a href="botto.htm" target="rbottom">Link Two</a></p>
0
 
LVL 31

Accepted Solution

by:
seanpowell earned 400 total points
ID: 9682291
Just so you follow,
Adding the "target" attribute directly to the links in the left frame, as opposed to inside the framset - mean you can control what link opens where...
0
 
LVL 24

Assisted Solution

by:HemanthaKumar
HemanthaKumar earned 100 total points
ID: 9682308
try appending target parameter to the links

eg:

<A href="url1" Target = "rtop">TEST1</A>
<A href="url2" Target = "rbottom">TEST2</A>


~Hemanth
0
 
LVL 31

Expert Comment

by:seanpowell
ID: 9682475
I'm glad I could help - just so you know for the future - it's not a good idea to accept duplicate responses...

Thanks,
GM
0

Featured Post

Are You Using the Best Web Development Editor?

The worlds of web hosting and web development are constantly evolving. Every year we see design trends change, coding standards adapt and new frameworks/CMS created. With such a quick pace of change it’s easy to get lost trying to keep up.

See if your editor made the list.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question