📄 15.32 判断一副图片是否加载完毕.htm
字号:
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>标题页</title>
<body>
<input onclick='prn()' type=button value=print_Iframe><br>
<iframe id=myframe src="http://www.baidu.com"></iframe>
<script>
function prn()
{
var win=window.open("about:blank") //打开一个空页面
win.moveTo(100,100) //移动到指定位置
win.location=document.all.myframe.src //指定页面的内容
win.print() //打印页面
}
</script>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -