弹出打印窗口,去掉网址显示
类别: HTML、CSS教程
<OBJECT id=factory style="DISPLAY: none"
codeBase=http://www.meadroid.com/scriptx/ScriptX.cab#Version=5,60,0,360
classid=clsid:1663ed61-23eb-11d2-b92f-008048fdd814 viewastext></OBJECT>
<SCRIPT defer>
function window.onload() {
factory.printing.header = "-"
factory.printing.footer = "-"
factory.printing.Print(true)
factory.printing.leftMargin = 0.2
factory.printing.topMargin = 0.5
factory.printing.rightMargin = 0.2
factory.printing.bottomMargin = 1.5
}
</SCRIPT>
codeBase=http://www.meadroid.com/scriptx/ScriptX.cab#Version=5,60,0,360
classid=clsid:1663ed61-23eb-11d2-b92f-008048fdd814 viewastext></OBJECT>
<SCRIPT defer>
function window.onload() {
factory.printing.header = "-"
factory.printing.footer = "-"
factory.printing.Print(true)
factory.printing.leftMargin = 0.2
factory.printing.topMargin = 0.5
factory.printing.rightMargin = 0.2
factory.printing.bottomMargin = 1.5
}
</SCRIPT>
- 上一篇: XMLHTTP异步获取网站数据的例子
- 下一篇: 禁止网页另存为
-= 资 源 教 程 =-
文 章 搜 索