Facebook Iframe App in Safari links to home page. Works OK in other Browsers.
Posted
by Bathan
on Stack Overflow
See other posts from Stack Overflow
or by Bathan
Published on 2010-04-21T13:31:29Z
Indexed on
2010/04/21
13:33 UTC
Read the original article
Hit count: 284
I have a facebook iframe that has several php files in it. In all tested browsers (IE,FFOX,Chrome) the links on the header work fine and go to the php files inside the iframe.
When I tried this on Safari the links are reloading the whole app inside the iframe. Is like a recursive call because Its not like im having the home page reloaded inside the iframe but the whole facebook page WITH the iframe.. reloaded inside my iframe.
The links are called using javascript with document.location.href="myPage.php";
Tryed placing target "_self" inside the link but this turned out weird : the iframe page was placed on top of everything, as if I had specified "_parent" on the target.
Any help?
© Stack Overflow or respective owner