I-Frame problem

  Drazpaz 17:57 18 Sep 04

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 04

The website url is click here

  Matt45 20:13 19 Sep 04

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.

Intel Coffee Lake 8th-gen Core processors release date rumours

1995-2015: How technology has changed the world in 20 years

Framestore’s haunting post-WWII title sequence for new BBC series SS-GB

Best iPhone games 2017 | Best iPad games 2017: 162 fantastic iOS games that you need to play right…