View Full Version : Frames


Naminator
01-17-2004, 11:12 PM
Yo, i'm making a website with frames. I have 3 frames, a top one, the side one with the links and the middle one that the links should show up in, but when i click on a link it opens a whole new page. How do i make it show up in the center frame? thanks for your help. Nam :rolleyes:

MaGiCSuN
01-17-2004, 11:16 PM
you have to target your links

target="frame"

should be in your <a> tag

and

name="frame" should be in the <frame> tag from that particular frame you want to target too. Both names "frame" should match, if you want to change them.

Love,
Mirna

bane_vagabond
01-17-2004, 11:17 PM
I don't have the frames code with me right now, because I haven't done it in so long, but here's how:

the frames have a specific name, example: name="right". Do you have the names of the frames set? What you want to do is make the link open in a frame by 'targeting'. <a href="dsadadsada" target="right">badhsahdsah

Naminator
01-17-2004, 11:29 PM
lol ummm sorry but i'm not really getting it, heres my frames maybe you can add in what i need???? :idea:


<HTML>
<TITLE> Frames</TITLE>
<FRAMESET ROWS= "25%,75%*"FRAMESPACING= "o" BORDER= "I">
<FRAME SRC="toppage.htm" SCROLLING = "NO">
<FRAMESET COLS= "200,*">
<FRAME SRC= "C:\Documents and Settings\SARAH AND JOEL\My Documents\RCC\links.htm"

SCROLLING= "Yes">
<FRAME SRC= "C:\Documents and Settings\SARAH AND JOEL\My Documents\RCC\RCCSITE.htm"

<frame name="main">
</FRAMESET>
</FRAMESET>
</HTML>

Naminator
01-17-2004, 11:35 PM
i got it guys, thanks for your help, payce out

MaGiCSuN
01-17-2004, 11:37 PM
your code has links in it that link to your harddrive :) you should upload your files and link them from there, so that others can see it too.

<HTML>
<TITLE> Frames</TITLE>
<FRAMESET ROWS= "25%,75%*"FRAMESPACING= "o" BORDER= "I">
<FRAME SRC="toppage.htm" SCROLLING="NO" name="NAMEHERE">
<FRAMESET COLS= "200,*">
<FRAME SRC="links.htm" SCROLLING="Yes" name="NAMEHERE">
<FRAME SRC="RCCSITE.htm" name="NAMEHERE">
</FRAMESET>
</FRAMESET>
</HTML>

give each frame another name, and as i'm assuming you have your links on links.htm well if you want them to target to rccsite.htm then you add this to your <a> tag:

target="NAMEHERE"

and change NAMEHERE to the name that you have given to the frame wich has rccsite.htm loading into it

Love,
Mirna