Solved

Left ,Top Bottom Frame

Posted on 2003-11-04
4
253 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
  • 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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Centered Image 2 28
compact pure CSS Read More Toggle 4 66
Joomla 2.5 shopping cart 7 23
CSS: Making responsive table look nicer 7 26
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …

772 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