Opening a link in one iframe in another iframe on the same page
If you have two iframes on one page, you can open files in a second iframe
from the first. For example, one iframe could be a contents page and the pages in the
contents load into the second iframe. In the example below the links in the first iframe
open in the second iframe, so the pages can be viewed while remaining on this page.
Here are some articles on iframes:
- Iframes: Opening a page from one iframe in another. (This page)
<!--The code on this page is
simply the code for iframes which is shown below-->
<!-- Code for the first iframe-->
<iframe name="iframe1" src="iframeExample.htm" align="top" height="150" width="95%" hspace="10" vspace="10" align="middle">
If you can see this, your browser does not support iframes!
<!--Code for the second iframe-->
<iframe name="iframe2" src="index.html" align="top" height="200" width="95%" hspace="10" vspace="10" align="middle">
If you can see
this, your browser does not support iframes!
<!--The first iframe loads the page in the link in the second iframe
because it has the following code in its links-->
<a href="anchors.htm" target="iframe2">
What's in a name - Anchors
<a href="FormSelect.htm" target="iframe2">
Menus in Forms
free java script editor to help create code.
Let's look at those unassuming but crucial Forms
[back to: no frames]
[on to: Forms]
Most Recent Revision: 18-Oct-98.
Copyright © 1998
I am always pleased to hear from you.
Send your comments to