I-Frame problem

  Drazpaz 17:57 18 Sep 2004
Locked

I am making a website with a friend. Everything is working fine except, when you click on the links they open up in new windows instead of into the centre i-frame (only if you are using Internet Explorer) (works fine on safari). Could it be a bit of javascript conflicting?

PLease help thanks

  Drazpaz 17:58 18 Sep 2004

The website url is click here

  Matt45 20:13 19 Sep 2004

Add a name="name goes here" tag to the iframe tag so it looks like <iframe id="mainframe" name="name goes here" src="hometext.html" width=80% height=400 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=yes></iframe>

Then on all the links you want to open in the IFRAME, add target="name goes here" to the tag, for example <a href="index.html" target="name goes here">Homepage</a>

Hope that helps

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

Elsewhere on IDG sites

What is ransomware and how do I protect my PC from Petya?

Microsoft Surface Studio – the artist's hands-on review

Original iPhone review

Comment mettre à jour Kodi ?