Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.

1. ## frames

hey, i know how to make a frame, but i don't know how to make a link in it. i'm using geocities, and my frames just have a yahoo page in them...what do i do? anyone got a code?

-kyle

2. We really could do with a little more information here like.

1) How many frames make up the frameset.

2) What are the names of the frames.

3) Which frame is the links going to be in.

4) Which frame is going to be targeted

5) How many blackbirds in the pie

6) Who ran away with the spoon

7) Why did the chicken cross the road

8) etc. etc

3. that was confusing, i'm new at this, but here are the answers to the one's that i could answer:

1) How many frames make up the frameset: 1

2) What are the names of the frames: ??

3) Which frame is the links going to be in: uh...1?

4) Which frame is going to be targeted: huh?

5) How many blackbirds in the pie: um...5?

6) Who ran away with the spoon: ooh! i know this one! the dish!

7) Why did the chicken cross the road: to get to the other side *duh*

4. Like it

OK here we go with a few basics.

A frameset consists of a number of frames, this depends on how many frames you want in your frameset.

If you have two frames in your frameset IE, a left frame and a right frame you give the left frame a name and give the right frame a name.

For this example we will call the left frame "Left" and the right frame "Right".
The names can be any of your choosing.

You can place a link in the left frame and target the right frame using a simple link as follows.

PS there was 4 and 20 blackbirds baked in the pie

5. ## Re: frames

Originally posted by Sing4theMoment
hey, i know how to make a frame, but i don't know how to make a link in it.
perhaps your going about it in the wrong way, you should have 3 pages the page that the frameset is in, and the 2 ( or however many ) pages that are the frames, this is 3 .html files.

to make a link in it, you would just edit one of the frame files
and also to make it easier instead of typing target="frame" inline every link, you could add <base href="frame"> inside your <head></head> tag if all the links will go to the same place. then any inline targets will go to wherever you want, this will make a default target.

you can also read http://www.htmlgoodies.com/tutors/frame1.html for more frame help.

6. Kyle,

can you post a link to your site? Taking a look at what's actually there usually helps a great deal in solving any problems.

7. ## Why frames?!!

Kyle,

why bother with a frameset if you just have a single frame in it? That's pointless, unless it's some attempt to protect your code, which is pointless too.
It would help if you describe what you want to accomplish; maybe someone can give you a much better solution (being really experienced and all, yaddi yadda...).

8. ok...well...i just want the links in one frame and the page in the other.

9. ## 2 frames, eh?

Aha!

So you want two frames! How would you have them arranged, one on top of the other, or one next to the other?
Anywayz: a basic two frame setup consists of three documents:
[list=1][*]A frameset document, which contains the frameset: no other content, so no body element![*]A normal document which contains the content for the first frame (i.e. your links);[*]Ditto for the second frame (i.e. the content).[/list=1]
The trick is to name the frames; when linking to a document, referring to the desired frame by its name using the target attribute will cause the linked document to open in that frame.
By example, if the frame is named "content" (... name="content"...), the mentioned link should look something like:
Code:
`<a href="mypage.html" target="content">`
I hope that helps you along a bit further; if not, do come back here!

Good luck!

10. uh...err...that made absolutely no sense...um...i want two frames next to each other...?

11. why didn't you include all this in your frist post here i will give you the code

<html>
<title>Tilte here</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<frameset cols="175,*" frameborder="NO" border="0" framespacing="0" rows="*">
<frame name="leftFrame" scrolling="NO" noresize src="Put html file here">
<frame name="mainFrame" src="Put html file here">
</frameset>
<noframes><body bgcolor="#FFFFFF" text="#000000">
Yor browser sucks get a new one
</body></noframes>
</html>

Since you don't understand
the name in this case is

leftFame

and

mainFrame

12. and i for got that for the link it would be

or

the

leftFrame

is the one on the left and the

mainFrame

is the one on the right

Hope this sheds some light on the topic

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•