Log in

View Full Version : Iframe Linking Help



fatedglory15
11-08-2006, 02:14 PM
Okay, so here is my problem now. When I click the links in my nav. bar. The links do not direct to the iframe. I did add the target="main" (which is the name of my iframe) and for some reason they either open in a new window, or change the entire page to what should be showing up in the iframe. here is what I mean...

http://www.graves.k12.ky.us/schools/gchs/index1.htm

thanks

TheJoshMan
11-09-2006, 08:30 AM
I did add the target="main" (which is the name of my iframe)


When I looked at the code on your page you had it set up this way...

<iframe id="main" height="500" width="655" border="0" src="home.htm"></iframe>

When it SHOULD be...


<iframe name="main" height="500" width="655" border="0" src="home.htm"></iframe>

Try that out, and see what you come up with.

fatedglory15
11-09-2006, 05:42 PM
ah, thanks, i'll see what happens :)