Links inside iframe

HTML, CSS and anything else that deals with client side capabilities.

Moderator: General Moderators

Post Reply
Terriator
Forum Commoner
Posts: 60
Joined: Mon Jul 04, 2005 12:46 pm

Links inside iframe

Post by Terriator »

Heya,

I'm currently in the need of including my webpage in an iframe. So I do like this (it's a facebook application, but still basically the same):

echo'<fb:iframe src="http://www.hero-fight.com/facebook/index2.php" width="750" height="700" name="Hero-Fight">';

Problem is, when I run it on IE, when I click the links inside the Iframe, they redirect me to index2.php instead of staying inside the Iframe. Works perfectly on firefox. How do I get the links to open inside the iframe?

Regards
Terriator
Forum Commoner
Posts: 60
Joined: Mon Jul 04, 2005 12:46 pm

Re: Links inside iframe

Post by Terriator »

I've tried everything I could google so far, but still can't get this thing working. Perhaps it'd be easier to convert all IE users to FF? xD
User avatar
papa
Forum Regular
Posts: 958
Joined: Wed Aug 27, 2008 3:36 am
Location: Sweden/Sthlm

Re: Links inside iframe

Post by papa »

Look into target properties for the href.
Post Reply