我有一个iframe -
<div style="border: 0px solid rgb(201, 0, 1); overflow: hidden; margin: 15px auto; max-width: 910px;">
我希望当我按下iframe中的链接时,该链接将在iframe外的相同标签中打开。
<div style="border: 0px solid rgb(201, 0, 1); overflow: hidden; margin: 15px auto; max-width: 910px;"> <iframe scrolling="no" src="firstopportunityonline.com/test.php"; style="border: 0px none; margin-left: 0px; height: 4112px; margin-top: -3825px; width: 1200px;"> <a href="page" target="_top">Replace parent url!</a> </iframe> </div>
我需要输入&#34;页面&#34;? 我尝试输入页面url = http://firstopportunityonline.com/forum/ 它没有用。 iframe给phpbb论坛 WordPress小部件显示论坛的部分我需要在一些phpbb论坛文件中嵌入一些代码吗?
如何在iframe中剪切页面底部?
我用height: 4112px; margin-top: -3825px;
切了顶部
但没有找到底线。
我需要在父页面添加代码吗? iframe页面的代码? 两者都在我的领域。
感谢。
答案 0 :(得分:0)
Target
..而不是iFrame
本身。
<iframe scrolling="no" src="http://firstopportunityonline.com/test.php" style="border: 0px none; margin-left: 0px; height: 4680px; margin-top: -4380px; width: 1200px;">
<a href="page" target="_top">Replace parent url!</a>
</iframe>