Solved

One more Frame question...

Posted on 2000-03-03
2
175 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
Comment Utility
<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 50 total points
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how add a full-size background image to a webpage using CSS3. Create a new HTML document with an internal stylesheet.: In CSS, define the html element to have a background image. Use a high resolution image.: In t…
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…

744 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now