打印预览
<object id="WebBrowser" width=0 height=0 classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></object>
<input type="button" onClick="document.all.WebBrowser.ExecWB(7,1)" value="打印预览">
<object id="WebBrowser" width=0 height=0 classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></object>
<input type="button" onClick="document.all.WebBrowser.ExecWB(7,1)" value="打印预览">
代码如下:
<OBJECT classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 height=0
id=WebBrowser width=0></OBJECT><INPUT class=face name=Button1 onclick=document.all.WebBrowser.ExecWB(4,1) type=button value=另存为> <INPUT class=face name=Button2 onclick="javascript:window.external.AddFavorite(location.href, document.title);" type=button value=加入收藏夹> <INPUT class=face name=Button3 onclick=document.all.WebBrowser.ExecWB(8,1) type=button value=页面设置> <input type="button" onClick="document.all.WebBrowser.ExecWB(7,1)" value="打印预览">就打印预览不好用!