IFrames question

Ok, I am currently in the process of redesigning my website to possibly use Iframes. My question is, How do I target a link in my iframe window so that it opens in the same window AND underneath my Iframe? Basically what I want to do is take my current website(It's in normal frames) and rewrite it so that It uses Iframes. I'm confused as to how to go about this.

Here is what I have so far. This isn't my entire page however.
PHP:
<html>
<head>
<link rel="stylesheet" type="text/css" href="C:\csssheet.css" title="CSSsheet">
</head>
<body>
<title>Test</title>
<iframe src="linksframe.html" name="linksframe" align="LEFT" height="350" width="200" frameborder="0"></iframe>
</body>
</html>

Is there something I need to add to my IFrames page such as TARGET="parent"? I'm not really sure if I've explained what I can't figure out.
 
If you're trying to make it so people can click on a link and have a new document load up in the iframe, you simply need to add: Target="IframeName" to the link. If thats not what you mean, then please elaborate..
 
Hmm. I can't guarantee this will work, but try putting "<base target="_parent">" in the page that goes into the iframe. Then all links will open in the parent (i.e. main page) frame. However, this will automatically overwrite the iframe. Because you're defining the iframe in the source that you're trying to replace with the page that the visitor opens, this will destroy the iframe.

Iframes are known not to work in NS4, but I thought they worked in everything else.
 
Well, I may just try and do it with tables(I was holding off on doing it this way because I don't really know how to create a menu with them). It was really just an experiment. I'm basically trying to have a menu in the top right of each of my pages without having to use a two frame setup. That's what my current page is.
 
Back