Solved

Web Authoring question

Posted on 1997-06-05
1
172 Views
Last Modified: 2013-12-25
I am currently designing a website, which uses frames. I use two frames -- one main frame and a frame for links within the site. When you use one of the links, netscape brings up a new window. Is there a way around this? Send your answer to: wblack@ccco.net please!
0
Comment
Question by:sblack
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 3

Accepted Solution

by:
Hawke earned 100 total points
ID: 1854285
Use this code

<HTML><HEAD>
<TITLE>MY HOMEPAGE
</TITLE></HEAD>
<FRAMESET COLS="20%,80%">
<FRAME SRC="links.html" NAME="INDEX"      SCROLLING="NO" NORESIZE>
<FRAME SRC="main.html" NAME="PAGE"      SCROLLING="AUTO" NORESIZE>
</FRAMESET>
</HTML>

Now let me explain to you the code.

FRAMESET is just the standard frame tag.
COLS just says that you want vertical frames.
ROWS would suggest that you want horizontal frames.
The percentage amount is the fraction of the screen you would like your frames to appear. Make sure that they total 100%.
SRC is the name of the file that you want to appear in a particular frame. The first filename will put that file in the first frame (the 20% one) while the second filename will put the file in the second frame (the 80% one).
NAME is the name of the frame where you want your file to appear.
SCROLLING allows for scrolling if your page is larger than the frame. The options are "NO" or "AUTO".
RESIZE allow a user to manually resize the frame to his/her convinience.

Now for the files. I'm assuming that you want your links frame to stay while the user browses the rest of your pages. In order for your main page to stay within the frame, and not pop up on a new window like it is now, the links in your links.html file will have to be targeted to that frame.
Ex.
<A HREF="nextpage.html" TARGET="page">

If you want to replace your links frame with another file, the link to that file would have to be targeted to that frame.
Ex.
<A HREF="newlinks.html" TARGET="links">

If you want to break out of frames, just TARGET="_top".
If you want to open a new window, TARGET="top".

I hope this helps.
0

Featured Post

Technology Partners: 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

Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

726 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