弹出打印窗口,去掉网址显示.

发表于:2007-06-30来源:作者:点击数: 标签:
<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>

原文转自:http://www.ltesting.net