Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

One more Frame question...

Posted on 2000-03-03
2
Medium Priority
?
224 Views
Last Modified: 2010-04-09
Sorry, I have one more question about frames. (I am just learning all this HTML stuff)  I set up my page with a side and top frame.  I have my personal banner on the top section, and my main page in the big section and want to place a navigation bar on the side.  But when I click the link on the side,it goes to that web-page in that frame.  How can I have people click on the link in the side frame and have the page open up in the main section?  Thanks!!  
0
Comment
Question by:MorganMare
2 Comments
 
LVL 6

Expert Comment

by:Marine
ID: 2581624
<A
href="http://www.something.htm" target=content></A>
content is the name of the main window where you going to show your stuff from a clicked window. so target points to it.
0
 

Accepted Solution

by:
worshipsf earned 200 total points
ID: 2582245
You need to first name your frames, then target your links to the main section.  Like this:

<frame src="navigationbar.html" name="left">
<frame src="mainpage.html" name="main">

Then, set your links like this: <a href="http://www.link.com" target="main">

The new page should then open up in your main frame.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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.
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
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…

926 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