Solved

Frames

Posted on 1997-03-10
1
221 Views
Last Modified: 2013-12-25
I have just put a page up that is using frames.  I was sure that I understood how they worked until I used the left frame named "director.htm" (a directory) to return to the home page.  When I clicked on it the home page came in that small rectangular frame (only 20% of the screen) and my intentions were for it to remove me from the page with frames and return me to the home page.  Where have I made the mistake?  When explaining this please give an example.  The directory frame is named "director.htm" the other 80% or so it called "html.htm" and the html page that has the Frameset tags is named "multimed.htm".  Thank you for any and all assistance.


Michael Sturgeon
0
Comment
Question by:msturgeon
1 Comment
 
LVL 4

Accepted Solution

by:
jshamlin earned 200 total points
ID: 1853870
When you're in frames, clicking a link will load that document in the present frame unless you also specify a TARGET in the HREF tag, thus:

<A HREF="page_to_load.html" TARGET="Frame_to_load_it_in">text</A>

You TARGET frames by their name (when you made the FRAMESET, each FRAME has a NAME attribute in addition to the SRC for its content)

If you want something to load in the entire browser window (losing the frameset), use TARGET="_top" in the HREF tag.

HTH
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

Suggested Solutions

Title # Comments Views Activity
ebay messages api 6 17
what is the best way to be able to share my GIFs animated pictures 7 35
asp Google Map 2 59
SP converting date time to date and time separately 2 17
An enjoyable and seamless user experience can go a long way on an eCommerce site. While a cohesive layout and engaging copy play roles in creating a positive user experience, some sites neglect aspects that seem marginal but in actuality prove very …
There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

756 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