1.如何只打印页面IFRAME里的内容,IFRAME的内容比较长,有滚动条,要将全部内容都打印出来.
代码如下:
<object id= "WebBrowser " width=0 height=0 classid= "CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 ">
</object>
<input type= "button " name= "Button " value= "打印预览 "
onClick= "document.all.WebBrowser.ExecWB(7,1) ">
<input type= "button " name= "Button " value= "直接打印 "
onClick= "document.all.WebBrowser.ExecWB(6,1) ">
<IFRAME id=ccc style= "WIDTH: 270px; HEIGHT: 125px "
name=editfolk_content src= "DB3.HTM " frameBorder=0> </IFRAME>
2.在IE里可以用ZOOM缩放复选框的大小,在Firefox用什么?
代码如下:
<object id= "WebBrowser " width=0 height=0 classid= "CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 ">
</object>
<input type= "button " name= "Button " value= "打印预览 "
onClick= "document.all.WebBrowser.ExecWB(7,1) ">
<input type= "button " name= "Button " value= "直接打印 "
onClick= "document.all.WebBrowser.ExecWB(6,1) ">
<IFRAME id=ccc style= "WIDTH: 270px; HEIGHT: 125px "
name=editfolk_content src= "DB3.HTM " frameBorder=0> </IFRAME>
2.在IE里可以用ZOOM缩放复选框的大小,在Firefox用什么?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货