...

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



JJohnsenDK
06-27-2007, 01:34 PM
Hey

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:

http://www.sifnet.dk/test_pl2.php?spiller=1&season=2006#

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, 04:43 PM
Try the link like this


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



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum