页面插入iframe嵌套

Posted 撸的一手好诗

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了页面插入iframe嵌套相关的知识,希望对你有一定的参考价值。

function loadURL(url)
            {
                var iFrame;
                iFrame = document.createElement("iframe");
                iFrame.setAttribute("src", url);
                iFrame.setAttribute("style", "display:block;");
                iFrame.setAttribute("height", "100px");
                iFrame.setAttribute("width", "300px");
                iFrame.setAttribute("frameborder", "0");
                document.body.appendChild(iFrame);
            }
            loadURL("http://www.baidu.com")

 

以上是关于页面插入iframe嵌套的主要内容,如果未能解决你的问题,请参考以下文章

postman 自动生成 curl 代码片段

postman 自动生成 curl 代码片段

访问嵌套片段的文本字段

带有嵌套片段的导航抽屉 (ViewPager)

postman添加断言

使用 NodeJS 和 JSDOM/jQuery 从代码片段构建 PHP 页面