2 replies [Last post]
nix
nix's picture
Offline
Enthusiast
(n): a position or site occupied or available for occupancy or marked by some distinguishing feature
Last seen: 11 years 35 weeks ago
(n): a position or site occupied or available for occupancy or marked by some distinguishing feature
Timezone: GMT-4
Joined: 2003-08-12
Posts: 159
Points: 0

Hi, its me again,

Even though I've been doing HTML for a long time now (almost 3 years) I can't figure out frames. I absolutely hate them. Every time I do frames and their's a link in the frame the link opens up in the frame that I don't want it to. It muyst have something to do with the names of the two frames heres some code that I do:

<FRAMESET border=0 cols=159,* frameBorder=0 frameSpacing=0>
<FRAME name=contents noResize scrolling=no src="leftside.htm" target="main">
<FRAME name=main src="teehome.htm" target="_self">
</FRAMESET>

The left side is the links bar and whenever I click on the link and the link opens up on the left side. I'm just guessing that the link has to have some sort of address in the <a href> tag but thats just a n00b guess.

any thing is welcome including laffing at the n00b Wink

I refuse to be like the faceless masses of sheep and have a signatu......awwwwwwwww CRAP!!

Backups? Ha! I've never had troub**&{[}$$ERROR NO CARRIER

Tags:
Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 1 day 23 hours ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5343
Points: 2964

heres a stupid n00b question

Hi nix,
I usually avoid frames but what I think you need to do is give each frame an id the same as the name and use the id as the target value in links not in the frame tag.

Hope that helps

nix
nix's picture
Offline
Enthusiast
(n): a position or site occupied or available for occupancy or marked by some distinguishing feature
Last seen: 11 years 35 weeks ago
(n): a position or site occupied or available for occupancy or marked by some distinguishing feature
Timezone: GMT-4
Joined: 2003-08-12
Posts: 159
Points: 0

heres a stupid n00b question

it sure does, thanx tony

I also found out if the target is: "_parent" then it opens up the link so all the frames are nulled. Thanks alot Cool

I refuse to be like the faceless masses of sheep and have a signatu......awwwwwwwww CRAP!!

Backups? Ha! I've never had troub**&{[}$$ERROR NO CARRIER