View Full Version : iframe: How to display a link in anohter window?

06-27-2007, 02:34 PM

I have a iframe with links and when i click the links in the iframe i want the link to open in the headpage where the iframe code is placed.

Here is my exampel:


as you can see under Øverige spillere to the right, i have put in an iframe, but when i click one of the players, the link opens in the iframe. I want it to open in the headpage, as explain before.

Is this possible?

Mr J
06-27-2007, 05:43 PM
Try the link like this

<a href="yourpage.htm" onclick="parent.location.href=this.href ; return false">Page.htm</a>