开发者

Links in iframe application on Facebook

开发者 https://www.devze.com 2023-02-03 10:11 出处:网络
can anybody help me out, how to add a link to ..开发者_JAVA技巧 maybe a \"headerimage\", inside a iframe application on facebook. So that the link will not open inside the iframe?

can anybody help me out, how to add a link to ..开发者_JAVA技巧 maybe a "headerimage", inside a iframe application on facebook. So that the link will not open inside the iframe?

as an example, you click on a link directing to application2 .. it should open it in facebook, but not inside your iframe.

thx sven

same problem on links to other user profiles..


<a href="wherever.com" target="_top"><img.../></a> should open a new page in the same window; which is essentially what happens when you are maneuvering through Facebook.

Unless you mean you want it to trigger an AJAX action...?


If you are looking to open some url in a new window, there are two ways to do it - by adding target="_blank" http://msdn2.microsoft.com/en-us/library/ms534659(VS.85).aspx

parameter to an A tag (your link),

or, by using open() method of JavaScript http://msdn2.microsoft.com/en-us/library/ms536651.aspx.

0

精彩评论

暂无评论...
验证码 换一张
取 消