jindadi 2006-4-17 13:10
求助
怎么调用"另存为""打印""打印预""添加到收藏夹"等命令!
fengzi147 2006-4-17 13:10
<OBJECT classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2" height=0 id=wb name=wb width=0></OBJECT>
<input type=button value=打印预览 onclick="wb.execwb(7,1)">
<input type=button onClick=document.all.wb.ExecWB(6,1) value="打印">
duxingzhe2005 2006-4-17 13:11
打印:<a href = # onclick="window.print()" >aaaa</a>
xuyaoairen 2006-4-17 13:12
<a href="javascript:window.external.AddFavorite('http://XXXX','XXX')"><font color="#FFFFFF">加入收藏夹</font></a>
冰霜之子 2006-4-17 13:13
<script language=javascript>
<!--
function Addme(){
url = "http://your.site.address"; //你自己的主页地址
title = "Your Site Name"; //你自己的主页名称
window.external.AddFavorite(url,title);
-->
</script>
<a href="javascript:Addme()">将本站添入收藏夹</a>