Solved

Web Authoring question

Posted on 1997-06-05
1
171 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

This article was originally published on Monitis Blog, you can check it here . Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime…
Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
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.
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

734 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