HTML help

Crest

New Member
Im not so good at HTML since ive been trying to avoid it. But now i have to make a page so...

The Question is: I have my page split up into frames. I have a link in one of the frames. I want it to link to a page which is in another frame. I mean... if i have 2 frames, one on the left and one on the right. Then when i click a link on the left page the destination of the link would show up in the right frame. How do i do that? Do you understand what i mean?

Im using Dreamweaver MX 2004
 
Umm... How can you set a destination to a frame? I mean... i tried setting the destination to the frame i wanted it to link to. All that happened was that it showed the info of the destination but in the wrong frame. I dont want it to show the info in the same frame as it is linked from. I know it is possibe since ive done it before, cant remember how tho...
 
You have to give the frame a name, then in your link you add 'target=targetframename' so it would look like <a href="blah.html" target="targetframename">blah</a>
just use code view if you can't find the right GUI interface in dreamweaver
 
this is no information you couldn't find in 3.5 seconds my googlin "html frame target"

add this to your link..... TARGET="name of frame"

use the following or your actual name...

_blank
Loads new page into new browser

_self
Loads the new page into the same window as the link

_parent
Loads the new page into the parent frame. (Frame set inside another frame set.)

_top
Removes the Frameset and displays the new page in the full browser window.
 
this is the line i have

<a href="pagethatistobeshown.htm" target="frametobeshownin.htm">Link 1 </a>

All it does is to Load the page into a new browser....
 
target="frametobeshownin.htm"
This is wrong, you want a frame name here. in your main frameset html page you have 2 frames, you have to name them, so I will call them frame1 (for the left one) and frame2 (for the right). <a href="pagethatistobeshown.htm" target="frame2">Link 1 </a>
 
Gah... i give up on the frames... still doesnt work

This is my line:

<a href="please.htm" target="frame1">Link1</a>

i want to show the page please.htm

The frame i want to show it in is called frame1.htm

This cant be wrong right? Otherwise ill go ahead and make an ugly page without frames.
 
Ok say this is our frameset page
Code:
<HTML>
<HEAD>
<TITLE>A frameset document</TITLE>
</HEAD>
<FRAMESET rows="50%,50%">
   <FRAME name="fixed" src="init_fixed.html">
   <FRAME name="dynamic" src="init_dynamic.html">
</FRAMESET>
</HTML>
to target the 2nd frame <a href="page2.html" target="dynamic">s</a>
 
how does the html document know which frame is which? I mean... if i have 4 frames... how does it know that i want the third frame to be called "blah" and not the first?
 
<FRAME name="fixed"> tells it what frame you want, if you wanted the 3rd frame named blah, you would put name="blah" in the tag for the 3rd frame.
 
Back
Top