<tfoot id='fsEYC'></tfoot>
  • <i id='fsEYC'><tr id='fsEYC'><dt id='fsEYC'><q id='fsEYC'><span id='fsEYC'><b id='fsEYC'><form id='fsEYC'><ins id='fsEYC'></ins><ul id='fsEYC'></ul><sub id='fsEYC'></sub></form><legend id='fsEYC'></legend><bdo id='fsEYC'><pre id='fsEYC'><center id='fsEYC'></center></pre></bdo></b><th id='fsEYC'></th></span></q></dt></tr></i><div id='fsEYC'><tfoot id='fsEYC'></tfoot><dl id='fsEYC'><fieldset id='fsEYC'></fieldset></dl></div>

    <small id='fsEYC'></small><noframes id='fsEYC'>

      <bdo id='fsEYC'></bdo><ul id='fsEYC'></ul>

      <legend id='fsEYC'><style id='fsEYC'><dir id='fsEYC'><q id='fsEYC'></q></dir></style></legend>

        是否可以打开一个新窗口并将 iframe 嵌入其中?

        时间:2023-10-01
        <i id='6zgRy'><tr id='6zgRy'><dt id='6zgRy'><q id='6zgRy'><span id='6zgRy'><b id='6zgRy'><form id='6zgRy'><ins id='6zgRy'></ins><ul id='6zgRy'></ul><sub id='6zgRy'></sub></form><legend id='6zgRy'></legend><bdo id='6zgRy'><pre id='6zgRy'><center id='6zgRy'></center></pre></bdo></b><th id='6zgRy'></th></span></q></dt></tr></i><div id='6zgRy'><tfoot id='6zgRy'></tfoot><dl id='6zgRy'><fieldset id='6zgRy'></fieldset></dl></div>
          <tbody id='6zgRy'></tbody>

        <small id='6zgRy'></small><noframes id='6zgRy'>

              • <bdo id='6zgRy'></bdo><ul id='6zgRy'></ul>

                <legend id='6zgRy'><style id='6zgRy'><dir id='6zgRy'><q id='6zgRy'></q></dir></style></legend><tfoot id='6zgRy'></tfoot>

                  本文介绍了是否可以打开一个新窗口并将 iframe 嵌入其中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  I need to open a new window and I want to embed a video in an iframe and show it in this window. As normal pop-up window syntax is:

                  window.open(URL,name,specs,replace)
                  

                  How will I pass the iframe code instead of URL so that the iframe is embedded in the new window? Please suggest.

                  Thanks in advance.

                  解决方案

                  You don't pass the iframe code to window.open, you get a handle on the window you are opening and write the iframe to that window.

                  var win = window.open();
                  win.document.write('<iframe width="560" height="315" src="//www.youtube.com/embed/mTWfqi3-3qU" frameborder="0" allowfullscreen></iframe>')
                  

                  这篇关于是否可以打开一个新窗口并将 iframe 嵌入其中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:如何通过弹出窗口获取输入并通过 javascript/jquery 将文本放入变量中 下一篇:在 Flash 上覆盖 html?

                  相关文章

                    <small id='4dxLL'></small><noframes id='4dxLL'>

                    1. <legend id='4dxLL'><style id='4dxLL'><dir id='4dxLL'><q id='4dxLL'></q></dir></style></legend>
                    2. <i id='4dxLL'><tr id='4dxLL'><dt id='4dxLL'><q id='4dxLL'><span id='4dxLL'><b id='4dxLL'><form id='4dxLL'><ins id='4dxLL'></ins><ul id='4dxLL'></ul><sub id='4dxLL'></sub></form><legend id='4dxLL'></legend><bdo id='4dxLL'><pre id='4dxLL'><center id='4dxLL'></center></pre></bdo></b><th id='4dxLL'></th></span></q></dt></tr></i><div id='4dxLL'><tfoot id='4dxLL'></tfoot><dl id='4dxLL'><fieldset id='4dxLL'></fieldset></dl></div>
                      • <bdo id='4dxLL'></bdo><ul id='4dxLL'></ul>

                      <tfoot id='4dxLL'></tfoot>