<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 嵌入其中?

        Is it possible to open a new window and embed iframe in to this?(是否可以打开一个新窗口并将 iframe 嵌入其中?)
        <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 嵌入其中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Fetch multiple links inside foreach loop(在 foreach 循环中获取多个链接)
                  Backbone Fetch Request is OPTIONS method(Backbone Fetch Request 是 OPTIONS 方法)
                  Fetch API leaks memory in Chrome(Fetch API 在 Chrome 中泄漏内存)
                  How can I download and save a file using the Fetch API? (Node.js)(如何使用 Fetch API 下载和保存文件?(Node.js))
                  Send blob data to node using fetch, multer, express(使用 fetch、multer、express 将 blob 数据发送到节点)
                  Sending a custom User-Agent string along with my headers (fetch)(发送自定义用户代理字符串以及我的标头(获取))

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

                      <legend id='4dxLL'><style id='4dxLL'><dir id='4dxLL'><q id='4dxLL'></q></dir></style></legend>
                    1. <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>

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