chaser-li
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")

 

分类:

技术点:

相关文章:

  • 2021-05-08
  • 2022-12-23
  • 2022-12-23
  • 2021-08-07
  • 2021-10-03
  • 2021-11-27
  • 2021-08-18
猜你喜欢
  • 2021-11-13
  • 2021-10-17
  • 2022-12-23
  • 2021-07-14
  • 2021-06-06
  • 2021-09-14
  • 2021-05-28
相关资源
相似解决方案