Solved

Left ,Top Bottom Frame

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
login jsp example 24 68
Ideas for Displaying a hierarchy of data in ASP.NET (Org chart in table or tree format) 1 36
ASP server side get value 15 38
Html value of radio 14 30
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
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…
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…

831 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