【问题标题】:How to call iframe from another iframe and dispay it in the parent window?如何从另一个 iframe 调用 iframe 并将其显示在父窗口中?
【发布时间】:2012-02-27 18:12:12
【问题描述】:

如何从另一个 iframe (iframe B) 调用 iframe (iframe A) 并将其显示在父窗口中?....我可以调用它,但它显示在调用 iframe 中而不是在父窗口中.我正在使用带有 C# 的 Asp.Net(3.5 框架)。 任何帮助将不胜感激。 我的代码如下.....

<tr>
    <td>
        <a shape="rect" coords="6,2,109,29" toptions="group = links, shaded = 1, type = iframe, effect = fade, width = 735, height = 400, layout = quicklook"
            href="chat.aspx" target="_parent" 
            onmouseout="MM_swapImgRestore()" 
            onmouseover="MM_swapImage('01','','images/ql_02_2.jpg',1)">
            <img src="images/ql_02.jpg" name="01" width="330" height="35" border="0" id="01" />
        </a>
    </td>
</tr>

如图所示,我通过点击另一个 iframe 1 中的链接来调用 iframe 2 并将其显示在主页上。现在它显示在 iframe1 部分​​。我不想在主页上显示它。

【问题讨论】:

    标签: asp.net html iframe


    【解决方案1】:

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2011-01-10
      • 1970-01-01
      • 1970-01-01
      • 2012-08-13
      • 2013-10-24
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多