coolteentom 13:54 21 Oct 2005

Hi, I'm just making a site at the min, and I am not sure how to work Iframes.

I have got buttons on the navigation beginning with this type of code: a href="aboutus.htm" target="iframe"...

and on the main part of the page I have got an Iframe: IFRAME SRC="body_test.htm" WIDTH=100% Height=488 ALIGN=center> /IFRAME>

I want the pages to come up in the iframe. However, at the minute, the pages are coming up in a new window.

Any help appreciated, Tom

  djinn 16:22 21 Oct 2005


Give your frame a name, say MyFrame.

So, like..........

<iframe src="body_test.htm" name="MyFrame" width="60%" height="400" align="default"></iframe>

Then reference it by *targeting* the name....

So, like.........

a href="aboutus.htm" target="MyFrame"


  coolteentom 22:46 21 Oct 2005

Many thanks for your help,

Is now working :D


This thread is now locked and can not be replied to.

Elsewhere on IDG sites

OnePlus 5 review

See the work of famous artists playing with toys

iPad Pro 10.5in (2017) review

Comment faire une capture d’écran sur un Mac ?