博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
页面插入iframe嵌套
阅读量:4317 次
发布时间:2019-06-06

本文共 554 字,大约阅读时间需要 1 分钟。

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

 

转载于:https://www.cnblogs.com/chaser-li/p/8080967.html

你可能感兴趣的文章
Python学习(007)-函数的特性
查看>>
扑克牌的顺子
查看>>
nodejs + express 热更新
查看>>
ClientScriptManager.RegisterClientScriptBlock Method 无效
查看>>
asp.net web site中reference的version的autoupdate
查看>>
第4章 网络层
查看>>
volatile
查看>>
项目需求分析答辩总结
查看>>
mysql-6正则表达式
查看>>
廖雪峰Java2面向对象编程-5包和classpath-1包package
查看>>
廖雪峰Java7处理日期和时间-3java.time的API-1LocalDateTime
查看>>
利用golang语法检查对象是否实现了接口
查看>>
在UBUNTU上安装基于bochs的 xv6
查看>>
Azure Storage Blob文件重命名
查看>>
RxJava2.0 使用
查看>>
FreeImage的图像处理软件
查看>>
ASP.NET MVC开发必看系列
查看>>
点到平面的距离
查看>>
linux下安装FTP
查看>>
第四周编程总结
查看>>